| java.lang.Object org.apache.geronimo.deployment.cli.AbstractCommand
All known Subclasses: org.apache.geronimo.deployment.cli.CommandLogin, org.apache.geronimo.deployment.cli.CommandStart, org.apache.geronimo.deployment.cli.CommandListTargets, org.apache.geronimo.deployment.cli.CommandListConfigurations, org.apache.geronimo.deployment.cli.CommandRedeploy, org.apache.geronimo.deployment.cli.CommandListModules, org.apache.geronimo.deployment.cli.CommandInstallCAR, org.apache.geronimo.deployment.cli.CommandDistribute, org.apache.geronimo.deployment.cli.CommandInstallLibrary,
AbstractCommand | abstract public class AbstractCommand implements DeployCommand(Code) | | Base class for CLI deployer commands. Tracks some simple properties and
has common utility methods.
version: $Rev: 596781 $ $Date: 2007-11-20 10:57:56 -0800 (Tue, 20 Nov 2007) $ |
Method Summary | |
protected void | emit(ConsoleReader out, String message) | protected static Target[] | identifyTargets(List targetNames, DeploymentManager mgr) | public boolean | isLocalOnly() | protected static boolean | isMultipleTargets(TargetModuleID[] ids) | protected void | waitForProgress(ConsoleReader out, ProgressObject po) Busy-waits until the provided ProgressObject
indicates that it's no longer running. |
AbstractCommand | public AbstractCommand()(Code) | | |
isLocalOnly | public boolean isLocalOnly()(Code) | | |
isMultipleTargets | protected static boolean isMultipleTargets(TargetModuleID[] ids)(Code) | | |
waitForProgress | protected void waitForProgress(ConsoleReader out, ProgressObject po)(Code) | | Busy-waits until the provided ProgressObject
indicates that it's no longer running.
Parameters: out - a PrintWriter value, only used in caseof an InterruptedException to output the stacktrace. Parameters: po - a ProgressObject value |
|
|