GigaSpaces XAP 7.0 API

org.openspaces.admin.pu
Enum DeploymentStatus

java.lang.Object
  extended by java.lang.Enum<DeploymentStatus>
      extended by org.openspaces.admin.pu.DeploymentStatus
All Implemented Interfaces:
Serializable, Comparable<DeploymentStatus>

public enum DeploymentStatus
extends Enum<DeploymentStatus>

Deployment status indicates a ProcessingUnit deployment.

Author:
kimchy

Enum Constant Summary
BROKEN
          Indicates the Processing Unit is deployed and is broken, where all required services are not available
COMPROMISED
          Indicates the Processing Unit is deployed and is compromised, where some specified services are not available
DEPLOYED
          Indicates the Processing Unit is deployed
INTACT
          Indicates the Processing Unit is deployed and is intact, where all specified services are available
NA
          Deployment status is not available.
SCHEDULED
          Indicates the Processing Unit is scheduled for deployment
UNDEPLOYED
          Indicates the Processing Unit is not deployed
 
Method Summary
static DeploymentStatus valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DeploymentStatus[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

NA

public static final DeploymentStatus NA
Deployment status is not available.


UNDEPLOYED

public static final DeploymentStatus UNDEPLOYED
Indicates the Processing Unit is not deployed


SCHEDULED

public static final DeploymentStatus SCHEDULED
Indicates the Processing Unit is scheduled for deployment


DEPLOYED

public static final DeploymentStatus DEPLOYED
Indicates the Processing Unit is deployed


BROKEN

public static final DeploymentStatus BROKEN
Indicates the Processing Unit is deployed and is broken, where all required services are not available


COMPROMISED

public static final DeploymentStatus COMPROMISED
Indicates the Processing Unit is deployed and is compromised, where some specified services are not available


INTACT

public static final DeploymentStatus INTACT
Indicates the Processing Unit is deployed and is intact, where all specified services are available

Method Detail

values

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

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

valueOf

public static DeploymentStatus 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

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.