Class SignToolBuilder
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Builder
-
- io.jenkins.plugins.venaficodesigning.SignToolBuilder
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Builder>
,BuildStep
,SimpleBuildStep
public class SignToolBuilder extends Builder implements SimpleBuildStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SignToolBuilder.DescriptorImpl
-
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherList
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
Nested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description SignToolBuilder(String tppName, String fileOrGlob, Credential credential)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
getAppendSignatures()
Credential
getCredential()
List<CmdArg>
getExtraArgs()
String
getFileOrGlob()
String
getSha1()
List<SigDigestAlgo>
getSignatureDigestAlgos()
List<SigDigestAlgo>
getSignatureDigestAlgosWithDefaultFallback()
String
getSignToolPath()
String
getSubjectName()
List<TimestampingServer>
getTimestampingServers()
String
getTppName()
boolean
getUseMachineConfiguration()
String
getVenafiClientToolsDir()
void
perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener)
void
setAppendSignatures(boolean value)
void
setExtraArgs(List<CmdArg> value)
void
setSha1(String value)
void
setSignatureDigestAlgos(List<SigDigestAlgo> value)
void
setSignToolPath(String value)
void
setSubjectName(String value)
void
setTimestampingServers(List<TimestampingServer> value)
void
setUseMachineConfiguration(boolean value)
void
setVenafiClientToolsDir(String value)
-
Methods inherited from class hudson.tasks.Builder
all, getDescriptor, getRequiredMonitorService, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectAction, getProjectActions, perform, perform, prebuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuild
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Constructor Detail
-
SignToolBuilder
@DataBoundConstructor public SignToolBuilder(String tppName, String fileOrGlob, Credential credential)
-
-
Method Detail
-
getTppName
public String getTppName()
-
getFileOrGlob
public String getFileOrGlob()
-
getSubjectName
public String getSubjectName()
-
getCredential
public Credential getCredential()
-
setSubjectName
@DataBoundSetter public void setSubjectName(String value)
-
getSha1
public String getSha1()
-
setSha1
@DataBoundSetter public void setSha1(String value)
-
getSignatureDigestAlgos
public List<SigDigestAlgo> getSignatureDigestAlgos()
-
getSignatureDigestAlgosWithDefaultFallback
public List<SigDigestAlgo> getSignatureDigestAlgosWithDefaultFallback()
-
setSignatureDigestAlgos
@DataBoundSetter public void setSignatureDigestAlgos(List<SigDigestAlgo> value)
-
getAppendSignatures
public boolean getAppendSignatures()
-
setAppendSignatures
@DataBoundSetter public void setAppendSignatures(boolean value)
-
getTimestampingServers
public List<TimestampingServer> getTimestampingServers()
-
setTimestampingServers
@DataBoundSetter public void setTimestampingServers(List<TimestampingServer> value)
-
getSignToolPath
public String getSignToolPath()
-
setSignToolPath
@DataBoundSetter public void setSignToolPath(String value)
-
getVenafiClientToolsDir
public String getVenafiClientToolsDir()
-
setVenafiClientToolsDir
@DataBoundSetter public void setVenafiClientToolsDir(String value)
-
getUseMachineConfiguration
public boolean getUseMachineConfiguration()
-
setUseMachineConfiguration
@DataBoundSetter public void setUseMachineConfiguration(boolean value)
-
perform
public void perform(Run<?,?> run, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
- Specified by:
perform
in interfaceSimpleBuildStep
- Throws:
InterruptedException
IOException
-
-