public final class DeployShell extends Namespace
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
DeployShell.SequenceStack  | 
| Constructor and Description | 
|---|
DeployShell(Context context, java.util.logging.Logger logger)
Creates a DeployShell seeded with specified Context. 
 | 
DeployShell(DeployShell shell)
Creates a DeployShell as a child of another shell. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
findFlag(java.lang.String flag)  | 
Context | 
getContext()  | 
DeployException | 
getDeployException()  | 
boolean | 
getFlag(java.lang.String flag)  | 
java.io.PrintWriter | 
getLog()
Deprecated. 
 
Use getLogger() instead. 
 | 
java.util.logging.Logger | 
getLogger()
Returns the  
Logger that should be used to write messages relevant to this deployment. | 
DeployShell | 
getRoot()
Get the root shell. 
 | 
DeployShell.SequenceStack | 
getSequenceStack()
Deprecated.  
 | 
boolean | 
isDeploying(int sequence)
Deprecated. 
 
Use an appropriate ShellAdapter instead. 
 | 
boolean | 
isDeploying(int[] sequences)
Deprecated.  
 | 
void | 
put(java.lang.String key, java.lang.Object data)
Adds the specified data object to this  
Namespace. | 
void | 
setContext(Context context)  | 
void | 
setDeployException(DeployException exc)  | 
void | 
setLogger(java.util.logging.Logger logger)  | 
public DeployShell(Context context, java.util.logging.Logger logger)
public DeployShell(DeployShell shell)
shell - the parent DeployShellpublic DeployShell getRoot()
DeployShells can be organized in a tree-like structure. This methods retrieves the shell at the root of the tree. A findXXX method will search all the way to the root shell so setting a value in the root shell acts as a default that can be overridden by a child shell.public boolean getFlag(java.lang.String flag)
public boolean findFlag(java.lang.String flag)
public void put(java.lang.String key,
       java.lang.Object data)
NamespaceNamespace. No special action is taken even of the specified data object is a Namespace instance. (See Namespace.put(String, Namespace) for the special actions that it takes for adding a Namespace.)
The specified key and data object may both be null.
public void setContext(Context context)
public Context getContext()
public void setLogger(java.util.logging.Logger logger)
public java.util.logging.Logger getLogger()
Logger that should be used to write messages relevant to this deployment.
Using the logger is the only way to guarantee that messages are seen or recorded by the client invoking deployment.
@Deprecated public java.io.PrintWriter getLog()
public void setDeployException(DeployException exc)
public DeployException getDeployException()
@Deprecated public DeployShell.SequenceStack getSequenceStack()
@Deprecated public boolean isDeploying(int sequence)
 DEPLOYMENT_SEQUENCE
  REMOTE_DEPLOY_SEQUENCE
   ASSEMBLY_SEQUENCE
    DEFAULT_SEQUENCE
     ARCHIVE_DEPLOYER
      ArchiveDeployer
   REMOTE_DEPLOYER
 
the following checks return true when done within ArchiveDeployer
shell.isDeploying(DEPLOYMENT_SEQUENCE) shell.isDeploying(ASSEMBLY_SEQUENCE) shell.isDeploying(ARCHIVE_DEPLOYER) shell.isDeploying(REMOTE_DEPLOY_SEQUENCE)whereas
shell.isDeploying(REMOTE_DEPLOYER) // returns false
sequence -JavaDeployment, ShellAdapter@Deprecated public boolean isDeploying(int[] sequences)
sequences -