@NonNullByDefault public enum ModelProcessingPhase extends Enum<ModelProcessingPhase>
Enum Constant and Description |
---|
EFFECTIVE_MODEL |
FULL_DECLARATION |
INIT |
SOURCE_LINKAGE
Cross-source relationship resolution phase.
|
SOURCE_PRE_LINKAGE
Preliminary cross-source relationship resolution phase which collects available module names and module
namespaces.
|
STATEMENT_DEFINITION |
Modifier and Type | Method and Description |
---|---|
@Nullable ModelProcessingPhase |
getPreviousPhase() |
static ModelProcessingPhase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ModelProcessingPhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ModelProcessingPhase INIT
public static final ModelProcessingPhase SOURCE_PRE_LINKAGE
public static final ModelProcessingPhase SOURCE_LINKAGE
In this phase of processing only statements which affects cross-source relationship (e.g. imports / includes) are processed.
At end of this phase all source related contexts should be bind to their imports and includes to allow visibility of custom defined statements in subsequent phases.
public static final ModelProcessingPhase STATEMENT_DEFINITION
public static final ModelProcessingPhase FULL_DECLARATION
public static final ModelProcessingPhase EFFECTIVE_MODEL
public static ModelProcessingPhase[] values()
for (ModelProcessingPhase c : ModelProcessingPhase.values()) System.out.println(c);
public static ModelProcessingPhase valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic @Nullable ModelProcessingPhase getPreviousPhase()
Copyright © 2019 OpenDaylight. All rights reserved.