atg.deployment
Class DeploymentOptions

java.lang.Object
  extended by atg.deployment.DeploymentOptions

public class DeploymentOptions
extends java.lang.Object

This class is used to pass in deployment specific options for the deploy() method in the DeploymentManager.


Field Summary
static java.lang.String ADD_UPDATE_SOURCE_CONTEXT_LINE
           
static java.lang.String APPLY_PHASE_VALUE_ONE
           
static java.lang.String APPLY_PHASE_VALUE_TWO
           
static java.lang.String CLASS_VERSION
          Class version string
static java.lang.String CLUSTER_ID
          id of the cluster
static java.lang.String CODE_AGENT_SIDE_COPY
          if this is an agent-side copy - automatically set
static java.lang.String CODE_DEPLOY_ONLINE_ONLY
          deploy online only (do not deploy to the offline switched data store)
static java.lang.String CODE_DEPLOYMENT_START_TIME
          the time the deployment started - automatically set
static java.lang.String CODE_DISTRUST_FILE_SIZE
          distrust the listed file size
static java.lang.String CODE_NO_CHECKSUM_AFTER_COPY
          no checksum after copy
static java.lang.String CODE_NO_COPY_LIVE_TO_STAGING
          no agent side copy
static java.lang.String CODE_NO_FILE_SIZE_VERIFICATION
          no file size verification
static java.lang.String CODE_NO_TIMESTAMP_VERIFICATION
          no timestamp verification
static java.lang.String CODE_NO_VERIFICATION_BY_CHECKSUM
          no verification by checksum
static java.lang.String CODE_PRESERVE_FILE_TIMESTAMPS
          preserve file timestamps
static java.lang.String CODE_STRICT_FILE_OPERATIONS
          strict file updates
static java.lang.String CODE_STRICT_REPOSITORY_OPERATIONS
          strict repository operations
static java.lang.String CONFIGURATION_SOURCE
          source side configuration
static java.lang.String CONNECT_FILE_AGENT_IP_ADDRESS
          IP address or name of machine for connecting to file transfer server
static java.lang.String CONNECT_FILE_AGENT_PORT
          port on machine for connecting to file transfer server
static java.lang.String CONNECT_FILE_CLIENT_IP_ADDRESS
          client IP address or name of machine for connecting to file transfer server
static java.lang.String CONNECT_FILE_CLIENT_PORT
          client port on machine for connecting to file transfer server
static java.lang.String DELETE_SOURCE_CONTEXT_LINE
           
static java.lang.String DEPLOYMENT_APPLY_PHASE
           
static java.lang.String FROM_SNAPSHOT_ID
           
static java.lang.String FULL_DEPLOYMENT
           
static java.lang.String REMOTE_RMI_SERVICE_HOST
           
static java.lang.String REMOTE_RMI_SERVICE_PORT
           
static java.lang.String ROLLBACK_DEPLOYMENT
           
static java.lang.String SWITCHED_DEPLOYMENT
           
static java.lang.String TO_SNAPSHOT_ID
           
static java.lang.String USE_DISTRIBUTED_DEPLOYMENT
           
static java.lang.String VALIDATE
           
 
Constructor Summary
DeploymentOptions()
          Default Constructor
 
Method Summary
 void addOption(java.lang.String pName, java.lang.String pValue)
          Adds a deployment option to the map
 void addOptionPersisted(java.lang.String pName, java.lang.String pValue, MutableRepositoryItem pDeploymentItem)
          Adds a deployment option to the map
 java.lang.String getOption(java.lang.String pName)
          Returns a deployment option
 java.util.Map getOptions()
          Returns the entire options map
 java.util.Map getRepositoryMappings()
          Returns the repository mapping
 void setRepositoryMappings(java.util.Map pValue)
          Sets the repository mappings
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CLASS_VERSION

public static java.lang.String CLASS_VERSION
Class version string


TO_SNAPSHOT_ID

public static final java.lang.String TO_SNAPSHOT_ID
See Also:
Constant Field Values

FROM_SNAPSHOT_ID

public static final java.lang.String FROM_SNAPSHOT_ID
See Also:
Constant Field Values

ADD_UPDATE_SOURCE_CONTEXT_LINE

public static final java.lang.String ADD_UPDATE_SOURCE_CONTEXT_LINE
See Also:
Constant Field Values

DELETE_SOURCE_CONTEXT_LINE

public static final java.lang.String DELETE_SOURCE_CONTEXT_LINE
See Also:
Constant Field Values

FULL_DEPLOYMENT

public static final java.lang.String FULL_DEPLOYMENT
See Also:
Constant Field Values

SWITCHED_DEPLOYMENT

public static final java.lang.String SWITCHED_DEPLOYMENT
See Also:
Constant Field Values

ROLLBACK_DEPLOYMENT

public static final java.lang.String ROLLBACK_DEPLOYMENT
See Also:
Constant Field Values

DEPLOYMENT_APPLY_PHASE

public static final java.lang.String DEPLOYMENT_APPLY_PHASE
See Also:
Constant Field Values

USE_DISTRIBUTED_DEPLOYMENT

public static final java.lang.String USE_DISTRIBUTED_DEPLOYMENT
See Also:
Constant Field Values

APPLY_PHASE_VALUE_ONE

public static final java.lang.String APPLY_PHASE_VALUE_ONE
See Also:
Constant Field Values

APPLY_PHASE_VALUE_TWO

public static final java.lang.String APPLY_PHASE_VALUE_TWO
See Also:
Constant Field Values

REMOTE_RMI_SERVICE_HOST

public static final java.lang.String REMOTE_RMI_SERVICE_HOST
See Also:
Constant Field Values

REMOTE_RMI_SERVICE_PORT

public static final java.lang.String REMOTE_RMI_SERVICE_PORT
See Also:
Constant Field Values

VALIDATE

public static final java.lang.String VALIDATE
See Also:
Constant Field Values

CODE_STRICT_REPOSITORY_OPERATIONS

public static final java.lang.String CODE_STRICT_REPOSITORY_OPERATIONS
strict repository operations

See Also:
Constant Field Values

CODE_DEPLOYMENT_START_TIME

public static final java.lang.String CODE_DEPLOYMENT_START_TIME
the time the deployment started - automatically set

See Also:
Constant Field Values

CODE_AGENT_SIDE_COPY

public static final java.lang.String CODE_AGENT_SIDE_COPY
if this is an agent-side copy - automatically set

See Also:
Constant Field Values

CODE_DEPLOY_ONLINE_ONLY

public static java.lang.String CODE_DEPLOY_ONLINE_ONLY
deploy online only (do not deploy to the offline switched data store)


CODE_STRICT_FILE_OPERATIONS

public static java.lang.String CODE_STRICT_FILE_OPERATIONS
strict file updates


CODE_PRESERVE_FILE_TIMESTAMPS

public static java.lang.String CODE_PRESERVE_FILE_TIMESTAMPS
preserve file timestamps


CODE_NO_CHECKSUM_AFTER_COPY

public static java.lang.String CODE_NO_CHECKSUM_AFTER_COPY
no checksum after copy


CODE_NO_FILE_SIZE_VERIFICATION

public static java.lang.String CODE_NO_FILE_SIZE_VERIFICATION
no file size verification


CODE_NO_TIMESTAMP_VERIFICATION

public static java.lang.String CODE_NO_TIMESTAMP_VERIFICATION
no timestamp verification


CODE_NO_VERIFICATION_BY_CHECKSUM

public static java.lang.String CODE_NO_VERIFICATION_BY_CHECKSUM
no verification by checksum


CODE_NO_COPY_LIVE_TO_STAGING

public static java.lang.String CODE_NO_COPY_LIVE_TO_STAGING
no agent side copy


CODE_DISTRUST_FILE_SIZE

public static java.lang.String CODE_DISTRUST_FILE_SIZE
distrust the listed file size


CONFIGURATION_SOURCE

public static java.lang.String CONFIGURATION_SOURCE
source side configuration


CONNECT_FILE_AGENT_IP_ADDRESS

public static java.lang.String CONNECT_FILE_AGENT_IP_ADDRESS
IP address or name of machine for connecting to file transfer server


CONNECT_FILE_AGENT_PORT

public static java.lang.String CONNECT_FILE_AGENT_PORT
port on machine for connecting to file transfer server


CONNECT_FILE_CLIENT_IP_ADDRESS

public static java.lang.String CONNECT_FILE_CLIENT_IP_ADDRESS
client IP address or name of machine for connecting to file transfer server


CONNECT_FILE_CLIENT_PORT

public static java.lang.String CONNECT_FILE_CLIENT_PORT
client port on machine for connecting to file transfer server


CLUSTER_ID

public static java.lang.String CLUSTER_ID
id of the cluster

Constructor Detail

DeploymentOptions

public DeploymentOptions()
Default Constructor

Method Detail

getOptions

public java.util.Map getOptions()
Returns the entire options map


addOption

public void addOption(java.lang.String pName,
                      java.lang.String pValue)
Adds a deployment option to the map


getOption

public java.lang.String getOption(java.lang.String pName)
Returns a deployment option


setRepositoryMappings

public void setRepositoryMappings(java.util.Map pValue)
Sets the repository mappings


getRepositoryMappings

public java.util.Map getRepositoryMappings()
Returns the repository mapping


addOptionPersisted

public void addOptionPersisted(java.lang.String pName,
                               java.lang.String pValue,
                               MutableRepositoryItem pDeploymentItem)
                        throws RepositoryException
Adds a deployment option to the map

Throws:
RepositoryException