Java Globus API: Class GaraReservationStatus
org.globus.gara
Class GaraReservationStatus
java.lang.Object
|
+--org.globus.gara.GaraReservationStatus
public class GaraReservationStatus extends Object
This class is used to store the status of a GaraReservation.
Although GaraReservationStatus objects can be used on a stand-alone
basis, they are used automatically in conjunction with
GaraReservationListener objects which are added to a GaraReservation.
See Also: GaraReservationListener ,
GaraReservation.addListener(org.globus.gara.GaraReservationListener) ,
GaraReservation.removeListener(org.globus.gara.GaraReservationListener)
GLOBUS_GARA_RESERVATION_STATUS_NOT_STARTED
public static final int GLOBUS_GARA_RESERVATION_STATUS_NOT_STARTED
GLOBUS_GARA_RESERVATION_STATUS_NOT_STARTED_BOUND
public static final int GLOBUS_GARA_RESERVATION_STATUS_NOT_STARTED_BOUND
GLOBUS_GARA_RESERVATION_STATUS_READY_NOT_BOUND
public static final int GLOBUS_GARA_RESERVATION_STATUS_READY_NOT_BOUND
GLOBUS_GARA_RESERVATION_STATUS_ACTIVE
public static final int GLOBUS_GARA_RESERVATION_STATUS_ACTIVE
GLOBUS_GARA_RESERVATION_STATUS_FINISHED
public static final int GLOBUS_GARA_RESERVATION_STATUS_FINISHED
GaraReservationStatus
public GaraReservationStatus ()
Default constructor. Initializes the reservation status.
GaraReservationStatus
public GaraReservationStatus (int initialStatus)
Creates a new GaraReservationStatus object starting at an initial status
Parameters: initialStatus - The initial status of the reservation
set
public void set (int newStatus)
throws GaraException
Sets the status to a new value
Parameters: newStatus - The new status valueThrows: GaraException -
get
public int get ()
Get the status value
Returns: The current status value
toString
public String toString ()
Overrides: toString in class Object
Returns: The String representation of the current status
toString
public static String toString (int s)
Returns: The String representation of the given status value
clone
public Object clone ()
Overrides: clone in class Object
Returns: A copy/clone of the invoking object which exists at the same
status level