Class XygeniSaltAtSlsaCommandBuilder
- java.lang.Object
-
- io.jenkins.plugins.xygeni.saltcommand.XygeniSaltCommandBuilder
-
- io.jenkins.plugins.xygeni.saltcommand.XygeniSaltAtSlsaCommandBuilder
-
public class XygeniSaltAtSlsaCommandBuilder extends XygeniSaltCommandBuilder
-
-
Constructor Summary
Constructors Constructor Description XygeniSaltAtSlsaCommandBuilder(List<Subject> subjects)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addCommandArgs(ArgumentListBuilder args, Run<?,?> build)
Handle non-general command args to compose final command call.protected String
getCommand()
protected boolean
isAttestationCommand()
if this is an attestation command (salt at ---)XygeniSaltAtSlsaCommandBuilder
withKey(String key, String keyPassword, String publicKey, String pkiFormat, String certificate)
XygeniSaltAtSlsaCommandBuilder
withKeyless()
-
Methods inherited from class io.jenkins.plugins.xygeni.saltcommand.XygeniSaltCommandBuilder
build, withAttestationOptions, withOutputOptions, withPaths, withRun, withRun
-
-
-
-
Method Detail
-
withKey
public XygeniSaltAtSlsaCommandBuilder withKey(String key, String keyPassword, String publicKey, String pkiFormat, String certificate)
-
withKeyless
public XygeniSaltAtSlsaCommandBuilder withKeyless()
-
getCommand
protected String getCommand()
- Specified by:
getCommand
in classXygeniSaltCommandBuilder
-
isAttestationCommand
protected boolean isAttestationCommand()
Description copied from class:XygeniSaltCommandBuilder
if this is an attestation command (salt at ---)- Overrides:
isAttestationCommand
in classXygeniSaltCommandBuilder
-
addCommandArgs
protected void addCommandArgs(ArgumentListBuilder args, Run<?,?> build)
Description copied from class:XygeniSaltCommandBuilder
Handle non-general command args to compose final command call. Required args will not be checked here, it should be reported by salt command.- Specified by:
addCommandArgs
in classXygeniSaltCommandBuilder
-
-