|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jclouds.compute.callables.SudoAwareInitManager org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete
public class RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.jclouds.compute.callables.RunScriptOnNode |
---|
RunScriptOnNode.Factory |
Field Summary | |
---|---|
protected BlockUntilInitScriptStatusIsZeroThenReturnOutput.Factory |
statusFactory
|
protected ComputeServiceConstants.Timeouts |
timeouts
|
Fields inherited from class org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh |
---|
eventBus |
Fields inherited from class org.jclouds.compute.callables.SudoAwareInitManager |
---|
computeLogger, init, initFile, logger, node, runAsRoot, ssh, sshFactory |
Constructor Summary | |
---|---|
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)
|
Method Summary | |
---|---|
ExecResponse |
doCall()
|
BlockUntilInitScriptStatusIsZeroThenReturnOutput |
future()
|
RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete |
init()
verifies that the command can execute on the node. |
Methods inherited from class org.jclouds.compute.callables.RunScriptOnNodeAsInitScriptUsingSsh |
---|
call, createInitScript, refreshSshIfNewAdminCredentialsConfigured, setupLinkToInitFile |
Methods inherited from class org.jclouds.compute.callables.SudoAwareInitManager |
---|
execScriptAsDefaultUser, getInitFile, getNode, getStatement, refreshAndRunAction, runAction, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.jclouds.compute.callables.RunScriptOnNode |
---|
getNode, getStatement |
Field Detail |
---|
protected final ComputeServiceConstants.Timeouts timeouts
protected final BlockUntilInitScriptStatusIsZeroThenReturnOutput.Factory statusFactory
Constructor Detail |
---|
@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)
Method Detail |
---|
public ExecResponse doCall()
doCall
in class RunScriptOnNodeAsInitScriptUsingSsh
public BlockUntilInitScriptStatusIsZeroThenReturnOutput future()
public RunScriptOnNodeAsInitScriptUsingSshAndBlockUntilComplete init()
RunScriptOnNode
init
in interface RunScriptOnNode
init
in class RunScriptOnNodeAsInitScriptUsingSsh
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |