com.businessobjects.customds.common
Class DeploymentContext

java.lang.Object
  extended by java.lang.Enum
      extended by com.businessobjects.customds.common.DeploymentContext
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable

public final class DeploymentContext
extends java.lang.Enum

DeploymentContext class is used to define the current deployment context type.

Since:
14.0
See Also:
Serialized Form

Field Summary
static DeploymentContext DESKTOP
          Desktop context type.
static DeploymentContext ENTERPRISE
          Enterprise context type.
static DeploymentContext UNDEFINED
          Unknown deployment context type.
 
Method Summary
static DeploymentContext fromType(int contextType)
          Returns a DeploymentContext instance corresponding to its int description.
 int getValue()
          Returns the int value corresponding to the deployment context type.
static DeploymentContext valueOf(java.lang.String name)
           
static DeploymentContext[] values()
           
 
Methods inherited from class java.lang.Enum
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

UNDEFINED

public static final DeploymentContext UNDEFINED
Unknown deployment context type.


ENTERPRISE

public static final DeploymentContext ENTERPRISE
Enterprise context type.


DESKTOP

public static final DeploymentContext DESKTOP
Desktop context type.

Method Detail

values

public static DeploymentContext[] values()

valueOf

public static DeploymentContext valueOf(java.lang.String name)

getValue

public final int getValue()
Returns the int value corresponding to the deployment context type.

Returns:
the int value

fromType

public static DeploymentContext fromType(int contextType)
Returns a DeploymentContext instance corresponding to its int description.

Parameters:
contextType - a int value for which the DeploymentContext object is required.
Returns:
a DeploymentContext instance corresponding to the int description