public enum LanguageLevelOption extends Enum<LanguageLevelOption> implements SingleValueKnowledgeBuilderOption
Enum Constant and Description |
---|
DRL5 |
DRL6 |
DRL6_STRICT |
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME
The property name for the language level
|
Modifier and Type | Method and Description |
---|---|
String |
getPropertyName() |
boolean |
useJavaAnnotations() |
static LanguageLevelOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LanguageLevelOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LanguageLevelOption DRL5
public static final LanguageLevelOption DRL6
public static final LanguageLevelOption DRL6_STRICT
public static final String PROPERTY_NAME
public static LanguageLevelOption[] values()
for (LanguageLevelOption c : LanguageLevelOption.values()) System.out.println(c);
public static LanguageLevelOption 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 boolean useJavaAnnotations()
public String getPropertyName()
getPropertyName
in interface org.kie.api.conf.Option
Copyright © 2001–2016 JBoss by Red Hat. All rights reserved.