GridSim 5.0 beta

gridsim.parallel.gui
Enum ActionType

Object
  extended by Enum<ActionType>
      extended by ActionType
All Implemented Interfaces:
Serializable, Comparable<ActionType>

public enum ActionType
extends Enum<ActionType>

This enumerator contains the types of allocation actions.

Since:
5.0
Author:
Marcos Dias de Assuncao

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

ITEM_ARRIVED

public static final ActionType ITEM_ARRIVED
Indicates that a schedule item has arrived at the subject


ITEM_SCHEDULED

public static final ActionType ITEM_SCHEDULED
Indicates that a schedule item has scheduled


ITEM_COMPLETED

public static final ActionType ITEM_COMPLETED
Denotes that a schedule item has completed execution


ITEM_CANCELLED

public static final ActionType ITEM_CANCELLED
Indicates that a schedule item has been cancelled


ITEM_STATUS_CHANGED

public static final ActionType ITEM_STATUS_CHANGED
Denotes that the status of a schedule item has changed


SCHEDULE_CHANGED

public static final ActionType SCHEDULE_CHANGED
Indicates a substantial change in the scheduling queue


SIMULATION_TIME_CHANGED

public static final ActionType SIMULATION_TIME_CHANGED
Denotes that the simulation time has changed

Method Detail

values

public static ActionType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (ActionType c : ActionType.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ActionType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null

intValue

public int intValue()
Returns the integer value of the type.

Returns:
the integer value of the type.

GridSim 5.0 beta

The University of Melbourne, Australia, 2009