public enum AssertBehaviorOption extends Enum<AssertBehaviorOption> implements SingleValueKnowledgeBaseOption
Modifier and Type | Field and Description |
---|---|
static String |
PROPERTY_NAME
The property name for the sequential mode option
|
Modifier and Type | Method and Description |
---|---|
String |
getPropertyName()
Returns the property name for this option
|
static AssertBehaviorOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AssertBehaviorOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AssertBehaviorOption IDENTITY
public static final AssertBehaviorOption EQUALITY
public static final String PROPERTY_NAME
public static AssertBehaviorOption[] values()
for (AssertBehaviorOption c : AssertBehaviorOption.values()) System.out.println(c);
public static AssertBehaviorOption 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 Option
Copyright © 2001–2017 JBoss by Red Hat. All rights reserved.