org.duracloud.services
Enum ComputeService.ServiceStatus

java.lang.Object
  extended by java.lang.Enum<ComputeService.ServiceStatus>
      extended by org.duracloud.services.ComputeService.ServiceStatus
All Implemented Interfaces:
Serializable, Comparable<ComputeService.ServiceStatus>
Enclosing interface:
ComputeService

public static enum ComputeService.ServiceStatus
extends Enum<ComputeService.ServiceStatus>


Enum Constant Summary
FAILED
           
FINALIZING
           
INSTALLED
           
POSTPROCESSING
           
PROCESSING
           
STARTED
           
STARTING
           
STOPPED
           
STOPPING
           
SUCCESS
           
UNKNOWN
           
WAITING
           
 
Method Summary
 boolean isComplete()
           
static ComputeService.ServiceStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ComputeService.ServiceStatus[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

UNKNOWN

public static final ComputeService.ServiceStatus UNKNOWN

INSTALLED

public static final ComputeService.ServiceStatus INSTALLED

STARTING

public static final ComputeService.ServiceStatus STARTING

STARTED

public static final ComputeService.ServiceStatus STARTED

WAITING

public static final ComputeService.ServiceStatus WAITING

PROCESSING

public static final ComputeService.ServiceStatus PROCESSING

POSTPROCESSING

public static final ComputeService.ServiceStatus POSTPROCESSING

FINALIZING

public static final ComputeService.ServiceStatus FINALIZING

STOPPING

public static final ComputeService.ServiceStatus STOPPING

STOPPED

public static final ComputeService.ServiceStatus STOPPED

SUCCESS

public static final ComputeService.ServiceStatus SUCCESS

FAILED

public static final ComputeService.ServiceStatus FAILED
Method Detail

values

public static ComputeService.ServiceStatus[] 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 (ComputeService.ServiceStatus c : ComputeService.ServiceStatus.values())
    System.out.println(c);

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

valueOf

public static ComputeService.ServiceStatus 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

isComplete

public boolean isComplete()


Copyright © 2009-2012 DuraSpace. All Rights Reserved.