public enum RewriteState extends Enum<RewriteState>
| Enum Constant and Description |
|---|
EVALUATING
The system is currently evaluating configured
Condition instances. |
PERFORMING
The system is currently performing configured
Operation instances. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEvaluating()
Return
true if this instance is equal to EVALUATING. |
boolean |
isPerforming()
Return
true if this instance is equal to PERFORMING. |
static RewriteState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RewriteState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RewriteState EVALUATING
Condition instances.public static final RewriteState PERFORMING
Operation instances.public static RewriteState[] values()
for (RewriteState c : RewriteState.values()) System.out.println(c);
public static RewriteState 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 isEvaluating()
true if this instance is equal to EVALUATING.public boolean isPerforming()
true if this instance is equal to PERFORMING.Copyright © 2014 OCPsoft. All Rights Reserved.