public class RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete extends RunScriptOnNodeAsInitScriptUsingSsh
RunScriptOnNode.Factory
Modifier and Type | Field and Description |
---|---|
protected BlockUntilInitScriptStatusIsZeroThenReturnOutput.Factory |
statusFactory |
protected ComputeServiceConstants.Timeouts |
timeouts |
eventBus
computeLogger, init, initFile, logger, node, runAsRoot, ssh, sshFactory
Constructor and Description |
---|
RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete(BlockUntilInitScriptStatusIsZeroThenReturnOutput.Factory statusFactory,
ComputeServiceConstants.Timeouts timeouts,
com.google.common.base.Function<NodeMetadata,SshClient> sshFactory,
com.google.common.eventbus.EventBus eventBus,
InitScriptConfigurationForTasks initScriptConfiguration,
NodeMetadata node,
Statement script,
RunScriptOptions options) |
Modifier and Type | Method and Description |
---|---|
ExecResponse |
doCall() |
BlockUntilInitScriptStatusIsZeroThenReturnOutput |
future() |
RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete |
init()
verifies that the command can execute on the node.
|
call, createInitScript, refreshSshIfNewAdminCredentialsConfigured, setupLinkToInitFile
execScriptAsDefaultUser, getInitFile, getNode, getStatement, refreshAndRunAction, runAction, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getNode, getStatement
protected final ComputeServiceConstants.Timeouts timeouts
protected final BlockUntilInitScriptStatusIsZeroThenReturnOutput.Factory statusFactory
@Inject public RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete(BlockUntilInitScriptStatusIsZeroThenReturnOutput.Factory statusFactory, ComputeServiceConstants.Timeouts timeouts, com.google.common.base.Function<NodeMetadata,SshClient> sshFactory, com.google.common.eventbus.EventBus eventBus, InitScriptConfigurationForTasks initScriptConfiguration, NodeMetadata node, Statement script, RunScriptOptions options)
public ExecResponse doCall()
doCall
in class RunScriptOnNodeAsInitScriptUsingSsh
public BlockUntilInitScriptStatusIsZeroThenReturnOutput future()
public RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete init()
RunScriptOnNode
init
in interface RunScriptOnNode
init
in class RunScriptOnNodeAsInitScriptUsingSsh
Copyright © 2009-2012 jclouds. All Rights Reserved.