|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
Object Enum<ActionType> ActionType
public enum ActionType
This enumerator contains the types of allocation actions.
Enum Constant Summary | |
---|---|
ITEM_ARRIVED
Indicates that a schedule item has arrived at the subject |
|
ITEM_CANCELLED
Indicates that a schedule item has been cancelled |
|
ITEM_COMPLETED
Denotes that a schedule item has completed execution |
|
ITEM_SCHEDULED
Indicates that a schedule item has scheduled |
|
ITEM_STATUS_CHANGED
Denotes that the status of a schedule item has changed |
|
SCHEDULE_CHANGED
Indicates a substantial change in the scheduling queue |
|
SIMULATION_TIME_CHANGED
Denotes that the simulation time has changed |
Method Summary | |
---|---|
int |
intValue()
Returns the integer value of the type. |
static ActionType |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static ActionType[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final ActionType ITEM_ARRIVED
public static final ActionType ITEM_SCHEDULED
public static final ActionType ITEM_COMPLETED
public static final ActionType ITEM_CANCELLED
public static final ActionType ITEM_STATUS_CHANGED
public static final ActionType SCHEDULE_CHANGED
public static final ActionType SIMULATION_TIME_CHANGED
Method Detail |
---|
public static ActionType[] values()
for (ActionType c : ActionType.values()) System.out.println(c);
public static ActionType valueOf(String name)
name
- the name of the enum constant to be returned.
IllegalArgumentException
- if this enum type has no constant
with the specified name
NullPointerException
- if the argument is nullpublic int intValue()
|
GridSim 5.0 beta | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |