org.glassfish.deployment.client
Class DFDeploymentProperties

java.lang.Object
  extended by java.util.Dictionary<K,V>
      extended by java.util.Hashtable<Object,Object>
          extended by java.util.Properties
              extended by org.glassfish.deployment.client.DFDeploymentProperties
All Implemented Interfaces:
Serializable, Cloneable, Map<Object,Object>

public class DFDeploymentProperties
extends Properties

Convenience class for managing deployment properties - settings or options to be conveyed to the back-end during deployment-related operations.

Heavily inspired by the original from common-utils but copied here to minimize dependencies.

Author:
tjquinn
See Also:
Serialized Form

Field Summary
static String ALL
           
static String ARCHIVE_NAME
           
static String AVAILABILITY_ENABLED
           
static String CASCADE
           
static String CLASS_NAME
           
static String CLASSPATH
           
static String CLIENTJARREQUESTED
           
static String CONTEXT_ROOT
           
static String DEFAULT_AVAILABILITY_ENABLED
           
static String DEFAULT_CASCADE
           
static String DEFAULT_ENABLED
           
static String DEFAULT_EXTERNALLY_MANAGED
           
static String DEFAULT_FORCE
           
static String DEFAULT_GENERATE_RMI_STUBS
           
static String DEFAULT_JAVA_WEB_START_ENABLED
           
static String DEFAULT_PRECOMPILE_JSP
           
static String DEFAULT_REDEPLOY
           
static String DEFAULT_RELOAD
           
static String DEFAULT_UPLOAD
           
static String DEFAULT_VERIFY
           
static String DEFAULT_VIRTUAL_SERVERS
           
static String DEPLOY_OPTION_JAVA_WEB_START_ENABLED
           
static String DEPLOY_OPTION_LIBRARIES
           
static String DEPLOYMENT_PLAN
           
static String DESCRIPTION
           
static String ENABLED
           
static String EXTERNALLY_MANAGED
           
static String FORCE
           
static String GENERATE_RMI_STUBS
           
static String IS_COMPOSITE
           
static String IS_FAILURE_FATAL
           
static String IS_LIFECYCLE
           
static String LIFECYCLE_MODULE
           
static String LOAD_ORDER
           
static String NAME
           
static String NON_RUNNING
           
static String PATH
           
static String PRECOMPILE_JSP
           
static String PROPERTY
           
static String REDEPLOY
           
static String RELOAD
           
static String RES_CREATE_REF
           
static String RES_DELETE_REF
           
static String RES_DEPLOYMENT
           
static String RES_NO_OP
           
static String RES_REDEPLOYMENT
           
static String RES_UNDEPLOYMENT
           
static String RESOURCE_ACTION
           
static String RESOURCE_TARGET_LIST
           
static String RUNNING
           
static String TARGET
           
static String TYPE
           
static String UPLOAD
           
static String VERIFY
           
static String VIRTUAL_SERVERS
           
static String WSDL_TARGET_HINT
           
 
Fields inherited from class java.util.Properties
defaults
 
Constructor Summary
DFDeploymentProperties()
           
 
Method Summary
 Map<String,String> asMap()
           
 boolean getAvailabilityEnabled()
           
 boolean getCascade()
           
 String getContextRoot()
           
 String getDescription()
           
 boolean getEnabled()
           
 boolean getExternallyManaged()
           
 boolean getForce()
           
 boolean getGenerateRMIStubs()
           
 boolean getJavaWebStartEnabled()
           
 String getLibraries()
           
 String getName()
           
 String getPath()
           
 boolean getPrecompileJSP()
           
 Properties getProperties()
           
 boolean getRedeploy()
           
 boolean getReload()
           
 String getResourceAction()
           
 String getResourceTargetList()
           
 String getTarget()
           
 boolean getUpload()
           
 boolean getVerify()
           
 String getVirtualServers()
           
 String getWsdlTargetHint()
           
 void setAvailabilityEnabled(boolean availabilityEnabled)
           
 void setCascade(boolean cascade)
           
 void setContextRoot(String contextRoot)
           
 void setDescription(String description)
           
 void setEnabled(boolean enabled)
           
 void setExternallyManaged(boolean isExternallyManaged)
           
 void setForce(boolean force)
           
 void setGenerateRMIStubs(boolean generateRMIStubs)
           
 void setJavaWebStartEnabled(boolean javaWebStartEnabled)
           
 void setLibraries(String libraries)
           
 void setName(String name)
           
 void setPath(String path)
           
 void setPrecompileJSP(boolean precompileJSP)
           
 void setProperties(Properties props)
           
 void setRedeploy(boolean redeploy)
           
 void setReload(boolean reload)
           
 void setResourceAction(String resourceAction)
           
 void setResourceTargetList(String resTargetList)
           
 void setTarget(String target)
           
 void setUpload(boolean uploadEnabled)
           
 void setVerify(boolean verify)
           
 void setVirtualServers(String virtualServers)
           
 void setWsdlTargetHint(String target)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, load, load, loadFromXML, propertyNames, save, setProperty, store, store, storeToXML, storeToXML, stringPropertyNames
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

WSDL_TARGET_HINT

public static final String WSDL_TARGET_HINT
See Also:
Constant Field Values

TARGET

public static final String TARGET
See Also:
Constant Field Values

REDEPLOY

public static final String REDEPLOY
See Also:
Constant Field Values

DEFAULT_REDEPLOY

public static final String DEFAULT_REDEPLOY
See Also:
Constant Field Values

FORCE

public static final String FORCE
See Also:
Constant Field Values

DEFAULT_FORCE

public static final String DEFAULT_FORCE
See Also:
Constant Field Values

RELOAD

public static final String RELOAD
See Also:
Constant Field Values

DEFAULT_RELOAD

public static final String DEFAULT_RELOAD
See Also:
Constant Field Values

CASCADE

public static final String CASCADE
See Also:
Constant Field Values

DEFAULT_CASCADE

public static final String DEFAULT_CASCADE
See Also:
Constant Field Values

VERIFY

public static final String VERIFY
See Also:
Constant Field Values

DEFAULT_VERIFY

public static final String DEFAULT_VERIFY
See Also:
Constant Field Values

VIRTUAL_SERVERS

public static final String VIRTUAL_SERVERS
See Also:
Constant Field Values

DEFAULT_VIRTUAL_SERVERS

public static final String DEFAULT_VIRTUAL_SERVERS

PRECOMPILE_JSP

public static final String PRECOMPILE_JSP
See Also:
Constant Field Values

DEFAULT_PRECOMPILE_JSP

public static final String DEFAULT_PRECOMPILE_JSP
See Also:
Constant Field Values

GENERATE_RMI_STUBS

public static final String GENERATE_RMI_STUBS
See Also:
Constant Field Values

DEFAULT_GENERATE_RMI_STUBS

public static final String DEFAULT_GENERATE_RMI_STUBS
See Also:
Constant Field Values

AVAILABILITY_ENABLED

public static final String AVAILABILITY_ENABLED
See Also:
Constant Field Values

DEFAULT_AVAILABILITY_ENABLED

public static final String DEFAULT_AVAILABILITY_ENABLED
See Also:
Constant Field Values

ENABLED

public static final String ENABLED
See Also:
Constant Field Values

DEFAULT_ENABLED

public static final String DEFAULT_ENABLED
See Also:
Constant Field Values

CONTEXT_ROOT

public static final String CONTEXT_ROOT
See Also:
Constant Field Values

ARCHIVE_NAME

public static final String ARCHIVE_NAME
See Also:
Constant Field Values

NAME

public static final String NAME
See Also:
Constant Field Values

TYPE

public static final String TYPE
See Also:
Constant Field Values

DESCRIPTION

public static final String DESCRIPTION
See Also:
Constant Field Values

CLIENTJARREQUESTED

public static final String CLIENTJARREQUESTED
See Also:
Constant Field Values

UPLOAD

public static final String UPLOAD
See Also:
Constant Field Values

EXTERNALLY_MANAGED

public static final String EXTERNALLY_MANAGED
See Also:
Constant Field Values

PATH

public static final String PATH
See Also:
Constant Field Values

DEFAULT_JAVA_WEB_START_ENABLED

public static final String DEFAULT_JAVA_WEB_START_ENABLED
See Also:
Constant Field Values

DEPLOYMENT_PLAN

public static final String DEPLOYMENT_PLAN
See Also:
Constant Field Values

PROPERTY

public static final String PROPERTY
See Also:
Constant Field Values

DEFAULT_UPLOAD

public static final String DEFAULT_UPLOAD
See Also:
Constant Field Values

DEFAULT_EXTERNALLY_MANAGED

public static final String DEFAULT_EXTERNALLY_MANAGED
See Also:
Constant Field Values

RESOURCE_ACTION

public static final String RESOURCE_ACTION
See Also:
Constant Field Values

RESOURCE_TARGET_LIST

public static final String RESOURCE_TARGET_LIST
See Also:
Constant Field Values

RES_DEPLOYMENT

public static final String RES_DEPLOYMENT
See Also:
Constant Field Values

RES_CREATE_REF

public static final String RES_CREATE_REF
See Also:
Constant Field Values

RES_DELETE_REF

public static final String RES_DELETE_REF
See Also:
Constant Field Values

RES_UNDEPLOYMENT

public static final String RES_UNDEPLOYMENT
See Also:
Constant Field Values

RES_REDEPLOYMENT

public static final String RES_REDEPLOYMENT
See Also:
Constant Field Values

RES_NO_OP

public static final String RES_NO_OP
See Also:
Constant Field Values

DEPLOY_OPTION_JAVA_WEB_START_ENABLED

public static final String DEPLOY_OPTION_JAVA_WEB_START_ENABLED
See Also:
Constant Field Values

DEPLOY_OPTION_LIBRARIES

public static final String DEPLOY_OPTION_LIBRARIES
See Also:
Constant Field Values

ALL

public static final String ALL
See Also:
Constant Field Values

RUNNING

public static final String RUNNING
See Also:
Constant Field Values

NON_RUNNING

public static final String NON_RUNNING
See Also:
Constant Field Values

LIFECYCLE_MODULE

public static final String LIFECYCLE_MODULE
See Also:
Constant Field Values

CLASS_NAME

public static final String CLASS_NAME
See Also:
Constant Field Values

CLASSPATH

public static final String CLASSPATH
See Also:
Constant Field Values

LOAD_ORDER

public static final String LOAD_ORDER
See Also:
Constant Field Values

IS_FAILURE_FATAL

public static final String IS_FAILURE_FATAL
See Also:
Constant Field Values

IS_LIFECYCLE

public static final String IS_LIFECYCLE
See Also:
Constant Field Values

IS_COMPOSITE

public static final String IS_COMPOSITE
See Also:
Constant Field Values
Constructor Detail

DFDeploymentProperties

public DFDeploymentProperties()
Method Detail

getWsdlTargetHint

public String getWsdlTargetHint()
                         throws IllegalArgumentException
Throws:
IllegalArgumentException

setWsdlTargetHint

public void setWsdlTargetHint(String target)

getTarget

public String getTarget()
                 throws IllegalArgumentException
Throws:
IllegalArgumentException

setTarget

public void setTarget(String target)

getRedeploy

public boolean getRedeploy()

setRedeploy

public void setRedeploy(boolean redeploy)

getForce

public boolean getForce()

setForce

public void setForce(boolean force)

getReload

public boolean getReload()

setReload

public void setReload(boolean reload)

getCascade

public boolean getCascade()

setCascade

public void setCascade(boolean cascade)

getPrecompileJSP

public boolean getPrecompileJSP()

setPrecompileJSP

public void setPrecompileJSP(boolean precompileJSP)

getVerify

public boolean getVerify()

setVerify

public void setVerify(boolean verify)

getVirtualServers

public String getVirtualServers()

setVirtualServers

public void setVirtualServers(String virtualServers)

getEnabled

public boolean getEnabled()

setEnabled

public void setEnabled(boolean enabled)

getContextRoot

public String getContextRoot()

setContextRoot

public void setContextRoot(String contextRoot)

getName

public String getName()

setName

public void setName(String name)

getDescription

public String getDescription()

setDescription

public void setDescription(String description)

getGenerateRMIStubs

public boolean getGenerateRMIStubs()

setGenerateRMIStubs

public void setGenerateRMIStubs(boolean generateRMIStubs)

getAvailabilityEnabled

public boolean getAvailabilityEnabled()

setAvailabilityEnabled

public void setAvailabilityEnabled(boolean availabilityEnabled)

getJavaWebStartEnabled

public boolean getJavaWebStartEnabled()

setJavaWebStartEnabled

public void setJavaWebStartEnabled(boolean javaWebStartEnabled)

getLibraries

public String getLibraries()

setLibraries

public void setLibraries(String libraries)

getResourceAction

public String getResourceAction()

setResourceAction

public void setResourceAction(String resourceAction)

getResourceTargetList

public String getResourceTargetList()

setResourceTargetList

public void setResourceTargetList(String resTargetList)

setUpload

public void setUpload(boolean uploadEnabled)

getUpload

public boolean getUpload()

setExternallyManaged

public void setExternallyManaged(boolean isExternallyManaged)

setPath

public void setPath(String path)

getPath

public String getPath()

getExternallyManaged

public boolean getExternallyManaged()

setProperties

public void setProperties(Properties props)

getProperties

public Properties getProperties()

asMap

public Map<String,String> asMap()


Copyright © 2012. All Rights Reserved.