public class JavaDeployment extends ShellAdapter implements JavaConstants
DeployShell used for JSE deployments. 
 
 Provides type-safe access to properties in the shell. This adapter can be
 used on a context, and then later on, on a shell that was created from that
 context. Queries on the shell are satisfied by the context. 
 
 For example, deployment may be initiated with this code:
Context context = Context.newIdeContext(); JavaDeployment.getInstance(context).setPlatform( myPlatform ); DeploymentManager.deploy(context, DEFAULT_SEQUENCE);Within a
Deployer, the Platform object 
 set in the Context may be retreived in two ways. Context:JavaDeployment jd = JavaDeployment.getInstance(shell.getContext()); Platform platform = jd.getPlatform();<
DeployShell, with the Context as a backup: JavaDeployment jd = JavaDeployment.getInstance(shell); Platform p = jd.getPlatform();
Platform in the current and all parent 
 shells before searching the Context. 
 context_, lock_, shell_DEPLOYMENT_MODULE_FACTORYKEY_CONTEXT, KEY_DEPLOY_ELEMENT, KEY_DEPLOYMENT_OPTIONS, KEY_IS_HEADLESS, KEY_PLATFORM, KEY_PRINT_TIME_MESSAGES, KEY_RUNNABLE_OBJECT, KEY_STATEFUL_DEPLOYMENT, KEY_SUPPRESS_STARTFINISH_MESSAGES| Modifier | Constructor and Description | 
|---|---|
| protected  | JavaDeployment(Context context) | 
| protected  | JavaDeployment(DeployShell shell) | 
| Modifier and Type | Method and Description | 
|---|---|
| DeploymentModuleFactory | getDeploymentModuleFactory()Returns a factory that can be used to create DeploymentModule(s) for this
 deployment-run. | 
| static JavaDeployment | getInstance(Context context) | 
| static JavaDeployment | getInstance(DeployShell shell) | 
| JavaDeployment | getRoot() | 
| protected JavaDeployment | newAdapter(DeployShell shell) | 
| JavaDeployment | newChildShell()Creates a child  DeployShelland a new ShellAdapter for it. | 
| void | setDeploymentModuleFactory(DeploymentModuleFactory factory) | 
find, findFlag, get, getContext, getDeployElement, getDeployException, getDeploymentOptions, getDeploymentOptions, getDeploymentOptionsHash, getDeploymentProgressObject, getLogger, getOrCreateDeploymentOptions, getOrCreateDeploymentOptions, getPlatform, getPrintTimeMessages, getProfile, getShell, isDeploying, isDeploying, isHeadlessDeployment, isProfileBasedDeployment, isStatefulDeployment, isSuppressDeploymentStartFinishMessage, newChildShell, put, remove, setDeployElement, setDeployException, setDeploymentOptions, setDeploymentOptions, setLogger, setPlatform, setPrintTimeMessages, setProfile, setStatefulDeployment, setSuppressDeploymentStartFinishMessageprotected JavaDeployment(DeployShell shell)
protected JavaDeployment(Context context)
public static JavaDeployment getInstance(DeployShell shell)
public static JavaDeployment getInstance(Context context)
public JavaDeployment getRoot()
getRoot in class ShellAdapterpublic JavaDeployment newChildShell()
ShellAdapterDeployShell and a new ShellAdapter for it. The child inherits all 
  properties set in the parent Shell unless overridden. To override, use any of the 
  setXXX() methods on the child.newChildShell in class ShellAdapterprotected JavaDeployment newAdapter(DeployShell shell)
newAdapter in class ShellAdapterpublic DeploymentModuleFactory getDeploymentModuleFactory()
public void setDeploymentModuleFactory(DeploymentModuleFactory factory)