public enum BeanState extends Enum<BeanState>
Enum Constant and Description |
---|
CONFIGURED |
CREATE |
DESCRIBED |
INSTALLED |
INSTANTIATED |
NOT_INSTALLED |
START |
Modifier and Type | Method and Description |
---|---|
boolean |
isAfter(BeanState state)
Is this instance after state @param.
|
boolean |
isBefore(BeanState state)
Is this instance before state @param.
|
BeanState |
next()
Get the next state.
|
static BeanState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BeanState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BeanState NOT_INSTALLED
public static final BeanState DESCRIBED
public static final BeanState INSTANTIATED
public static final BeanState CONFIGURED
public static final BeanState CREATE
public static final BeanState START
public static final BeanState INSTALLED
public static BeanState[] values()
for (BeanState c : BeanState.values()) System.out.println(c);
public static BeanState 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 BeanState next()
public boolean isBefore(BeanState state)
state
- the state to checkpublic boolean isAfter(BeanState state)
state
- the state to checkCopyright © 2017 JBoss by Red Hat. All rights reserved.