Class XygeniSaltCommandBuilder
java.lang.Object
io.jenkins.plugins.xygeni.saltcommand.XygeniSaltCommandBuilder
- Direct Known Subclasses:
XygeniSaltAtAddCommandBuilder,XygeniSaltAtCommitCommandBuilder,XygeniSaltAtInitCommandBuilder,XygeniSaltAtRunCommandBuilder,XygeniSaltAtSlsaCommandBuilder,XygeniSaltVerifyCommandBuilder
-
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidaddCommandArgs(ArgumentListBuilder args, Run<?, ?> build) Handle non-general command args to compose final command call.build()protected abstract Stringprotected booleanif this is an attestation command (salt at ---)withAttestationOptions(AttestationOptions attestationOptions) withOutputOptions(OutputOptions outputOptions) withRun(Run<?, ?> build, Launcher launcher, TaskListener listener) withRun(Run<?, ?> build, Launcher launcher, TaskListener listener, EnvVars env)
-
Method Details
-
isAttestationCommand
protected boolean isAttestationCommand()if this is an attestation command (salt at ---) -
withRun
-
withRun
public XygeniSaltCommandBuilder withRun(Run<?, ?> build, Launcher launcher, TaskListener listener, EnvVars env) -
withPaths
-
withAttestationOptions
-
withOutputOptions
-
getCommand
-
addCommandArgs
Handle non-general command args to compose final command call. Required args will not be checked here, it should be reported by salt command. -
build
-