public static enum Behavior.BehaviorType extends Enum<Behavior.BehaviorType>
Enum Constant and Description |
---|
LENGTH_WINDOW |
TIME_WINDOW |
Modifier and Type | Method and Description |
---|---|
boolean |
matches(String id) |
static Behavior.BehaviorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Behavior.BehaviorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Behavior.BehaviorType TIME_WINDOW
public static final Behavior.BehaviorType LENGTH_WINDOW
public static Behavior.BehaviorType[] values()
for (Behavior.BehaviorType c : Behavior.BehaviorType.values()) System.out.println(c);
public static Behavior.BehaviorType 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 matches(String id)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.