Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


oracle.jdeveloper.deploy
Class DeployShell

java.lang.Object
  extended by oracle.ide.util.Namespace
      extended by oracle.jdeveloper.deploy.DeployShell


public final class DeployShell
extends Namespace

Nested Class Summary
static class DeployShell.SequenceStack
           

 

Constructor Summary
DeployShell(Context context, java.util.logging.Logger logger)
          Creates a DeployShell seeded with specified Context.
DeployShell(Context context, java.io.PrintWriter log)
          Deprecated. Use DeployShell(context, logger) instead.
DeployShell(DeployShell shell)
          Creates a DeployShell as a child of another shell.

 

Method Summary
 boolean findFlag(java.lang.String flag)
           
 java.lang.String getConnectionName()
          Deprecated. No equivalent, use an appropriate ShellAdapter.
 Context getContext()
           
 DeployException getDeployException()
           
 DeploymentModuleFactory getDeploymentModuleFactory()
          Returns a factory that can be used to create DeploymentModule(s) for this deployment-run.
 DeployShellFactory getDeployShellFactory()
          Returns the factory that created this DeployShell.
 boolean getFlag(java.lang.String flag)
           
 java.io.PrintWriter getLog()
          Deprecated. use getLogger() instead.
 java.util.logging.Logger getLogger()
           
 oracle.jdeveloper.deploy.meta.Platform getPlatform()
          Deprecated. Use JavaDeployment.getPlatform() instead.
 java.lang.String getPlatformID()
          Deprecated. No equivalent, use an appropriate ShellAdapter.
 boolean getPrintTimeMessages()
           
 DeployShell getRoot()
          Get the root shell.
 DeployShell.SequenceStack getSequenceStack()
          Deprecated. 
 boolean isDeploying(int sequence)
          Deprecated. Use an appropriate ShellAdapter instead.
 void setContext(Context context)
           
 void setDeployException(DeployException exc)
           
 void setDeploymentModuleFactory(DeploymentModuleFactory factory)
           
 void setDeployShellFactory(DeployShellFactory factory)
          A DeployShell should have a reference to the factory that created it, in case more shells need to be created for deploying dependant modules.
 void setLog(java.io.PrintWriter log)
          Deprecated. 
 void setLogger(java.util.logging.Logger logger)
           
 void setPlatform(oracle.jdeveloper.deploy.meta.Platform platform)
          Deprecated. Use JavaDeployment.setPlatform() instead.
 void setPlatformID(java.lang.String platformID)
          Deprecated. No equivalent, use an appropriate ShellAdapter.
 void setPrintTimeMessages(boolean value)
          Deprecated. 

 

Methods inherited from class oracle.ide.util.Namespace
contains, find, find, findAndReplace, get, get, get, getData, getParent, isRoot, put, put, put, put, remove, setParent, toMap, translateKey

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

DeployShell

public DeployShell(Context context,
                   java.util.logging.Logger logger)
Creates a DeployShell seeded with specified Context.

DeployShell

@Deprecated
public DeployShell(Context context,
                              java.io.PrintWriter log)
Deprecated. Use DeployShell(context, logger) instead.
Creates a DeployShell using the specified PrintWriter for logging.

DeployShell

public DeployShell(DeployShell shell)
Creates a DeployShell as a child of another shell.
Parameters:
shell - the parent DeployShell

Method Detail

getConnectionName

@Deprecated
public java.lang.String getConnectionName()
Deprecated. No equivalent, use an appropriate ShellAdapter.

getRoot

public DeployShell getRoot()
Get the root shell. 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.
Overrides:
getRoot in class Namespace
Returns:

getFlag

public boolean getFlag(java.lang.String flag)

findFlag

public boolean findFlag(java.lang.String flag)

setContext

public void setContext(Context context)

getContext

public Context getContext()

setPlatformID

@Deprecated
public void setPlatformID(java.lang.String platformID)
Deprecated. No equivalent, use an appropriate ShellAdapter.

getPlatformID

@Deprecated
public java.lang.String getPlatformID()
Deprecated. No equivalent, use an appropriate ShellAdapter.

getPlatform

@Deprecated
public oracle.jdeveloper.deploy.meta.Platform getPlatform()
Deprecated. Use JavaDeployment.getPlatform() instead.

setPlatform

@Deprecated
public void setPlatform(oracle.jdeveloper.deploy.meta.Platform platform)
Deprecated. Use JavaDeployment.setPlatform() instead.

setDeployShellFactory

public void setDeployShellFactory(DeployShellFactory factory)
A DeployShell should have a reference to the factory that created it, in case more shells need to be created for deploying dependant modules.
Parameters:
factory -

getDeployShellFactory

public DeployShellFactory getDeployShellFactory()
Returns the factory that created this DeployShell. Guaranteed to be not-null.
Returns:
the DeployShellFactory that originally created this DeployShell.

getDeploymentModuleFactory

public DeploymentModuleFactory getDeploymentModuleFactory()
Returns a factory that can be used to create DeploymentModule(s) for this deployment-run. The factory returned may be a composite object, that may in turn delegate the create() task to one or more registered factories, however the caller need not be concerned with this.
Returns:
a DeploymentModuleFactory, null if no registered factory can handle the request.

setDeploymentModuleFactory

public void setDeploymentModuleFactory(DeploymentModuleFactory factory)

setLog

@Deprecated
public void setLog(java.io.PrintWriter log)
Deprecated. 

getLog

@Deprecated
public java.io.PrintWriter getLog()
Deprecated. use getLogger() instead.
Guaranteed to return non-null.

setLogger

public void setLogger(java.util.logging.Logger logger)

getLogger

public java.util.logging.Logger getLogger()

setDeployException

public void setDeployException(DeployException exc)

getDeployException

public DeployException getDeployException()

setPrintTimeMessages

@Deprecated
public void setPrintTimeMessages(boolean value)
Deprecated. 

getPrintTimeMessages

public boolean getPrintTimeMessages()
Returns:
boolean false, only if it is explicitly set.

getSequenceStack

@Deprecated
public DeployShell.SequenceStack getSequenceStack()
Deprecated. 

isDeploying

@Deprecated
public boolean isDeploying(int sequence)
Deprecated. Use an appropriate ShellAdapter instead.
Test to check if the current code is executing as part of the particular sequence. This method can be used to determine if any sequence-dependant actions need to be taken at the current point in the code. For example, given the deployment 'tree':
 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
 
Parameters:
sequence -
Returns:
See Also:
JavaDeployment, ShellAdapter

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.7.2)

E13403-10


Copyright © 1997, 2013, Oracle. All rights reserved.