public static enum EMFPatternLanguageGeneratorConfig.MatcherGenerationStrategy extends java.lang.Enum<EMFPatternLanguageGeneratorConfig.MatcherGenerationStrategy>
Enum Constant and Description |
---|
NESTED_CLASS
Pattern-specific match and matcher classes are generated as subclasses of the query specification
|
SEPARATE_CLASS
Pattern-specific match and matcher classes are generated into separate classes; default behavior since old
IncQuery versions
|
USE_GENERIC
No pattern-specific match or matcher classes are generated; the generated class will be similar than private
patterns since VIATRA 1.6.
|
Modifier and Type | Method and Description |
---|---|
static EMFPatternLanguageGeneratorConfig.MatcherGenerationStrategy |
defaultValue() |
static java.lang.String[] |
getAllIdentifiers() |
static java.lang.String[] |
getAllLabels()
Returns all labels in the same order than
values() . |
java.lang.String |
getLabel() |
static EMFPatternLanguageGeneratorConfig.MatcherGenerationStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static EMFPatternLanguageGeneratorConfig.MatcherGenerationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EMFPatternLanguageGeneratorConfig.MatcherGenerationStrategy SEPARATE_CLASS
public static final EMFPatternLanguageGeneratorConfig.MatcherGenerationStrategy NESTED_CLASS
public static final EMFPatternLanguageGeneratorConfig.MatcherGenerationStrategy USE_GENERIC
public static EMFPatternLanguageGeneratorConfig.MatcherGenerationStrategy[] values()
for (EMFPatternLanguageGeneratorConfig.MatcherGenerationStrategy c : EMFPatternLanguageGeneratorConfig.MatcherGenerationStrategy.values()) System.out.println(c);
public static EMFPatternLanguageGeneratorConfig.MatcherGenerationStrategy 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 java.lang.String getLabel()
public static java.lang.String[] getAllIdentifiers()
public static java.lang.String[] getAllLabels()
values()
.public static EMFPatternLanguageGeneratorConfig.MatcherGenerationStrategy defaultValue()