|
BEA Systems, Inc. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object weblogic.deploy.api.spi.DeploymentOptions
public final class DeploymentOptions
Common options for deployment operations.
Field Summary | |
---|---|
static boolean |
ADMIN_ACCESS
Start web application with restricted access (test mode). |
static int |
CLUSTER_DEPLOYMENT_TIMEOUT
Default deployment timeout value for deployment operations. |
static String |
EXTERNAL_STAGE
Manual staging of files. |
static boolean |
FULL_ACCESS
Start web application with normal access |
static String |
NOSTAGE
Inhibit copying of files to target servers. |
static String |
STAGE
Force copying of files to target servers. |
static String |
STAGE_DEFAULT
Use default or configured staging mode. |
Constructor Summary | |
---|---|
DeploymentOptions()
Create instance with defaulted options. |
Method Summary | |
---|---|
String |
getAltDD()
A path on the file system for the application descriptor for this application. |
String |
getAltWlsDD()
A path on the file system for the WLS-specific application descriptor for this application. |
String |
getArchiveVersion()
The version identifier of the application. |
int |
getClusterDeploymentTimeout()
Milliseconds granted for a cluster deployment task on this application. |
String |
getDeploymentPrincipalName()
|
long |
getForceUndeployTimeout()
Specifies the timeout value in seconds for the force undeploy operation. |
String |
getLibImplVersion()
The implementation version of a library application. |
String |
getLibSpecVersion()
The specification version of a library application. |
String |
getName()
|
String |
getPlanVersion()
The version identifier of the deployment plan used in this deployment. |
int |
getRetireTime()
Specifies how long to wait in seconds before retiring an application that has been replaced with a newer version. |
int |
getRMIGracePeriodSecs()
Specifies the RMI grace period for the graceful production to admin mode operation. |
String |
getSecurityModel()
The security deployment model to use for this application. |
String |
getStageMode()
Indicates how files will be made available to managed servers. |
long |
getTimeout()
User provided timeout value in milliseconds. |
String |
getVersionIdentifier()
The full version identifier of the application for this deployment, including the archive and plan versions. |
boolean |
isAdminMode()
Indicates whether a web application should be started with restricted access. |
boolean |
isGracefulIgnoreSessions()
Specifies whether the graceful production to admin mode operation should ignore pending HTTP sessions. |
boolean |
isGracefulProductionToAdmin()
Specifies whether the production to admin mode operation should be graceful. |
boolean |
isLibrary()
Indicates whether the application is to be deployed as a library. |
boolean |
isNameFromLibrary()
Indicates that the app name should be derived from the library manifest. |
boolean |
isNoVersion()
Indicates that the operation will skip version checks on the app source so that we can relax the restriction on the existance of the app source on the admin server for really large apps |
boolean |
isRemote()
Indicates that the operation will be remote from the file system that contains the source. |
boolean |
isRetireGracefully()
Specifies the retirement policy to gracefully retire an app only after it has completed all in-flight work. |
boolean |
isSecurityValidationEnabled()
Specifies whether security deployment data should be validated. |
boolean |
isUndeployAllVersions()
Specifies whether the undeploy operation should undeploy all app versions irrespective of in-flight work. |
void |
setAdminMode(boolean b)
Specify whether application should be deployed with restricted access. |
void |
setAltDD(String altDD)
Specifies an alternate path on the file system of the application descriptor for this application. |
void |
setAltWlsDD(String altWlsDD)
Specifies an alternate path on the file system of the WLS-specific application descriptor for this application. |
void |
setArchiveVersion(String version)
Specifies the application version for the application. |
void |
setClusterDeploymentTimeout(int timeInMillis)
|
void |
setDeploymentPrincipalName(String principal)
|
void |
setForceUndeployTimeout(long timeInSecs)
|
void |
setGracefulIgnoreSessions(boolean b)
|
void |
setGracefulProductionToAdmin(boolean b)
|
void |
setLibImplVersion(String version)
Specifies the implementation version of a library application if it is not present in the manifest. |
void |
setLibrary(boolean isLibrary)
Specify if application is a library. |
void |
setLibSpecVersion(String version)
Specifies the specification version of a library application if it is not present in the manifest. |
void |
setName(String name)
|
void |
setNameFromLibrary(boolean nameFromLibrary)
Specify that the app name should be derived from the library manifest. |
void |
setNoVersion(boolean ignoreVersion)
Indicates that the operation will skip version checks on the app source So that we can relax the restriction on the existance of the app source on the admin server for really large apps |
void |
setPlanVersion(String planVersion)
Specifies a deployment plan version for this deployment. |
void |
setRemote(boolean setRemote)
Indicates that the operation will be remote from the file system that contains the source. |
void |
setRetireGracefully(boolean b)
|
void |
setRetireTime(int i)
|
void |
setRMIGracePeriodSecs(int secs)
|
void |
setSecurityModel(String model)
Specifies a security deployment model to use for this application. |
void |
setSecurityValidationEnabled(boolean enable)
Specify whether to validate security deployment data. |
void |
setStageMode(String s)
|
void |
setTimeout(long timeout)
The maximum time in milliseconds for the deployment to complete before it it is considered to have failed. |
void |
setUndeployAllVersions(boolean b)
|
void |
setVersionIdentifier(String version)
Specifies the full version identifier for this deployment. |
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String STAGE_DEFAULT
public static final String STAGE
public static final String NOSTAGE
public static final String EXTERNAL_STAGE
public static final boolean FULL_ACCESS
public static final boolean ADMIN_ACCESS
public static final int CLUSTER_DEPLOYMENT_TIMEOUT
Constructor Detail |
---|
public DeploymentOptions()
Method Detail |
---|
public String getAltDD()
public void setAltDD(String altDD)
public String getAltWlsDD()
public void setAltWlsDD(String altWlsDD)
public String getSecurityModel()
public void setSecurityModel(String model) throws IllegalArgumentException
IllegalArgumentException
public boolean isSecurityValidationEnabled()
public void setSecurityValidationEnabled(boolean enable)
public String getArchiveVersion()
public void setArchiveVersion(String version)
public String getPlanVersion()
public void setPlanVersion(String planVersion)
public String getVersionIdentifier()
public void setVersionIdentifier(String version)
public boolean isLibrary()
public void setLibrary(boolean isLibrary)
public String getLibSpecVersion()
public void setLibSpecVersion(String version)
public String getLibImplVersion()
public void setLibImplVersion(String version)
public boolean isNameFromLibrary()
public void setNameFromLibrary(boolean nameFromLibrary)
public boolean isAdminMode()
public void setAdminMode(boolean b)
DeploymentOptions.FULL_ACCESS
,
DeploymentOptions.ADMIN_ACCESS
public int getRetireTime()
public void setRetireTime(int i)
public boolean isRetireGracefully()
public void setRetireGracefully(boolean b)
public boolean isGracefulProductionToAdmin()
public void setGracefulProductionToAdmin(boolean b)
public boolean isGracefulIgnoreSessions()
public void setGracefulIgnoreSessions(boolean b)
public int getRMIGracePeriodSecs()
public void setRMIGracePeriodSecs(int secs)
public boolean isUndeployAllVersions()
public void setUndeployAllVersions(boolean b)
public String getStageMode()
public void setStageMode(String s)
public int getClusterDeploymentTimeout()
Milliseconds granted for a cluster deployment task on this application. If any deployment tasks remain active for longer, the task will be cancelled.
The larger the application, the larger the value for timeout should be, as the gating factor is associated with download time and processing time required to load the application files.
A server instance checks for timed out deployments about once a minute.
Only cluster deployments can be timed out.
public void setClusterDeploymentTimeout(int timeInMillis)
public long getForceUndeployTimeout()
public void setForceUndeployTimeout(long timeInSecs)
public String toString()
toString
in class Object
public String getName()
public void setName(String name)
public boolean isNoVersion()
public void setNoVersion(boolean ignoreVersion)
public long getTimeout()
public void setTimeout(long timeout)
public boolean isRemote()
public void setRemote(boolean setRemote)
public void setDeploymentPrincipalName(String principal)
public String getDeploymentPrincipalName()
|
Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs92 Copyright 2006 BEA Systems Inc. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |