public class RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete extends RunScriptOnNodeAsInitScriptUsingSsh
RunScriptOnNode.Factory| Modifier and Type | Field and Description |
|---|---|
protected BlockUntilInitScriptStatusIsZeroThenReturnOutput.Factory |
statusFactory |
protected ComputeServiceConstants.Timeouts |
timeouts |
eventBuscomputeLogger, 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, setupLinkToInitFileexecScriptAsDefaultUser, getInitFile, getNode, getStatement, refreshAndRunAction, runAction, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNode, getStatementprotected 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 RunScriptOnNodeAsInitScriptUsingSshpublic BlockUntilInitScriptStatusIsZeroThenReturnOutput future()
public RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete init()
RunScriptOnNodeinit in interface RunScriptOnNodeinit in class RunScriptOnNodeAsInitScriptUsingSshCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.