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