public enum ParsingContext extends java.lang.Enum<ParsingContext>
Modifier and Type | Class and Description |
---|---|
static class |
ParsingContext.Position
Represents the position of a module in an XD DSL declaration.
|
Enum Constant and Description |
---|
job
A job definition.
|
module
A composed module, which starts or ends on a processor.
|
partial_job
For the purpose of DSL completion only, a (maybe unfinished) job definition.
|
partial_module
For the purpose of DSL completion only, a (maybe unfinished) composed module definition.
|
partial_stream
For the purpose of DSL completion only, a (maybe unfinished) stream definition.
|
stream
A full stream definition, which ought to start with a source (or channel) and end with a sink (or channel).
|
Modifier and Type | Method and Description |
---|---|
boolean |
shouldBindAndValidate() |
boolean |
supportsNamedChannels() |
static ParsingContext |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ParsingContext[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ParsingContext stream
public static final ParsingContext module
public static final ParsingContext job
public static final ParsingContext partial_stream
public static final ParsingContext partial_module
public static final ParsingContext partial_job
public static ParsingContext[] values()
for (ParsingContext c : ParsingContext.values()) System.out.println(c);
public static ParsingContext valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic boolean shouldBindAndValidate()
public boolean supportsNamedChannels()