IBM Rational Performance Tester SDK

com.ibm.rational.test.lt.recorder.core.config
Enum DeploymentMode

java.lang.Object
  extended by java.lang.Enum<DeploymentMode>
      extended by com.ibm.rational.test.lt.recorder.core.config.DeploymentMode
All Implemented Interfaces:
Serializable, Comparable<DeploymentMode>

public enum DeploymentMode
extends Enum<DeploymentMode>

Specifies the deployment mode for deployable recording components that support both local (within the workbench) and remote (in a separate VM) execution. It is not necessary to specify a component deployment mode if it is declared in plugin.xml to support only one mode.


Enum Constant Summary
LOCAL
          Local deployment (i.e. the component is run in the workbench)
REMOTE
          Remote deployment (i.e. the component is run in a separate JVM)
 
Method Summary
static DeploymentMode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static DeploymentMode[] 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

LOCAL

public static final DeploymentMode LOCAL
Local deployment (i.e. the component is run in the workbench)


REMOTE

public static final DeploymentMode REMOTE
Remote deployment (i.e. the component is run in a separate JVM)

Method Detail

values

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

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

valueOf

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

IBM Rational Performance Tester SDK

© Copyright IBM Corp. 2012. All rights reserved.