Package io.snyk.jenkins.workflow
Class SnykSecurityStep
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- io.snyk.jenkins.workflow.SnykSecurityStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<org.jenkinsci.plugins.workflow.steps.Step>
,SnykConfig
public class SnykSecurityStep extends org.jenkinsci.plugins.workflow.steps.Step implements SnykConfig
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SnykSecurityStep.Execution
static class
SnykSecurityStep.SnykSecurityStepDescriptor
-
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson
-
-
Constructor Summary
Constructors Constructor Description SnykSecurityStep()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAdditionalArguments()
String
getOrganisation()
String
getProjectName()
String
getSeverity()
String
getSnykInstallation()
String
getSnykTokenId()
String
getTargetFile()
boolean
isFailOnError()
boolean
isFailOnIssues()
boolean
isMonitorProjectOnBuild()
void
setAdditionalArguments(String additionalArguments)
void
setFailOnError(boolean failOnError)
void
setFailOnIssues(boolean failOnIssues)
void
setMonitorProjectOnBuild(boolean monitorProjectOnBuild)
void
setOrganisation(String organisation)
void
setProjectName(String projectName)
void
setSeverity(String severity)
void
setSnykInstallation(String snykInstallation)
void
setSnykTokenId(String snykTokenId)
void
setTargetFile(String targetFile)
org.jenkinsci.plugins.workflow.steps.StepExecution
start(org.jenkinsci.plugins.workflow.steps.StepContext context)
-
-
-
Method Detail
-
isFailOnIssues
public boolean isFailOnIssues()
- Specified by:
isFailOnIssues
in interfaceSnykConfig
-
setFailOnIssues
@DataBoundSetter public void setFailOnIssues(boolean failOnIssues)
-
isFailOnError
public boolean isFailOnError()
- Specified by:
isFailOnError
in interfaceSnykConfig
-
setFailOnError
@DataBoundSetter public void setFailOnError(boolean failOnError)
-
isMonitorProjectOnBuild
public boolean isMonitorProjectOnBuild()
- Specified by:
isMonitorProjectOnBuild
in interfaceSnykConfig
-
setMonitorProjectOnBuild
@DataBoundSetter public void setMonitorProjectOnBuild(boolean monitorProjectOnBuild)
-
getSeverity
public String getSeverity()
- Specified by:
getSeverity
in interfaceSnykConfig
-
setSeverity
@DataBoundSetter public void setSeverity(String severity)
-
getSnykTokenId
public String getSnykTokenId()
- Specified by:
getSnykTokenId
in interfaceSnykConfig
-
setSnykTokenId
@DataBoundSetter public void setSnykTokenId(String snykTokenId)
-
getTargetFile
public String getTargetFile()
- Specified by:
getTargetFile
in interfaceSnykConfig
-
setTargetFile
@DataBoundSetter public void setTargetFile(@CheckForNull String targetFile)
-
getOrganisation
public String getOrganisation()
- Specified by:
getOrganisation
in interfaceSnykConfig
-
setOrganisation
@DataBoundSetter public void setOrganisation(@CheckForNull String organisation)
-
getProjectName
public String getProjectName()
- Specified by:
getProjectName
in interfaceSnykConfig
-
setProjectName
@DataBoundSetter public void setProjectName(@CheckForNull String projectName)
-
getSnykInstallation
public String getSnykInstallation()
- Specified by:
getSnykInstallation
in interfaceSnykConfig
-
setSnykInstallation
@DataBoundSetter public void setSnykInstallation(String snykInstallation)
-
getAdditionalArguments
public String getAdditionalArguments()
- Specified by:
getAdditionalArguments
in interfaceSnykConfig
-
setAdditionalArguments
@DataBoundSetter public void setAdditionalArguments(@CheckForNull String additionalArguments)
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context)
- Specified by:
start
in classorg.jenkinsci.plugins.workflow.steps.Step
-
-