@InterfaceAudience.Private @InterfaceStability.Unstable public class SshActionBuilder extends NodeBuilderBaseImpl<SshActionBuilder> implements Builder<SshAction>
EmailAction.
The properties of the builder can only be set once, an attempt to set them a second time will trigger
an IllegalStateException. The properties that are lists are an exception to this rule, of course multiple
elements can be added / removed.
Builder instances can be used to build several elements, although properties already set cannot be changed after
a call to build() either.| Modifier and Type | Method and Description |
|---|---|
SshAction |
build()
Builds and returns an object.
|
SshActionBuilder |
clearArgs() |
static SshActionBuilder |
create() |
static SshActionBuilder |
createFromExistingAction(Node action) |
static SshActionBuilder |
createFromExistingAction(SshAction action) |
protected SshActionBuilder |
getRuntimeSelfReference() |
SshActionBuilder |
withArg(String arg) |
SshActionBuilder |
withCaptureOutput(Boolean captureOutput) |
SshActionBuilder |
withCommand(String command) |
SshActionBuilder |
withHost(String host) |
SshActionBuilder |
withoutArg(String arg) |
addAsChildToAllParents, clearCredentials, clearParents, withCredential, withErrorHandler, withName, withoutCredential, withoutErrorHandler, withoutParent, withParent, withParentDefaultConditional, withParentWithCondition, withRetryInterval, withRetryMax, withRetryPolicypublic static SshActionBuilder create()
public static SshActionBuilder createFromExistingAction(SshAction action)
public static SshActionBuilder createFromExistingAction(Node action)
public SshActionBuilder withHost(String host)
public SshActionBuilder withCommand(String command)
public SshActionBuilder withArg(String arg)
public SshActionBuilder withoutArg(String arg)
public SshActionBuilder clearArgs()
public SshActionBuilder withCaptureOutput(Boolean captureOutput)
public SshAction build()
Builderprotected SshActionBuilder getRuntimeSelfReference()
getRuntimeSelfReference in class NodeBuilderBaseImpl<SshActionBuilder>Copyright © 2021 Apache Software Foundation. All rights reserved.