Class FortifyPollResults
- java.lang.Object
-
- hudson.model.AbstractDescribableImpl<org.jenkinsci.plugins.workflow.steps.Step>
-
- org.jenkinsci.plugins.workflow.steps.Step
-
- org.jenkinsci.plugins.fodupload.steps.FortifyStep
-
- org.jenkinsci.plugins.fodupload.steps.FortifyPollResults
-
- All Implemented Interfaces:
ExtensionPoint,Describable<org.jenkinsci.plugins.workflow.steps.Step>,BuildStep,SimpleBuildStep
public class FortifyPollResults extends FortifyStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFortifyPollResults.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 class org.jenkinsci.plugins.fodupload.steps.FortifyStep
lastBuild
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description FortifyPollResults(String releaseId, String bsiToken, int pollingInterval)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetBsiToken()StringgetClientId()StringgetClientSecret()booleangetOverrideGlobalConfig()StringgetPersonalAccessToken()intgetPolicyFailureBuildResultPreference()intgetPollingInterval()StringgetReleaseId()StringgetTenantId()StringgetUsername()voidperform(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener)booleanprebuild(AbstractBuild<?,?> build, BuildListener listener)voidsetClientId(String clientId)voidsetClientSecret(String clientSecret)voidsetOverrideGlobalConfig(boolean overrideGlobalConfig)voidsetPersonalAccessToken(String personalAccessToken)voidsetPolicyFailureBuildResultPreference(int policyFailureBuildResultPreference)voidsetTenantId(String tenantId)voidsetUsername(String username)org.jenkinsci.plugins.workflow.steps.StepExecutionstart(org.jenkinsci.plugins.workflow.steps.StepContext context)-
Methods inherited from class org.jenkinsci.plugins.fodupload.steps.FortifyStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, setLastBuild
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Method Detail
-
getReleaseId
public String getReleaseId()
-
getBsiToken
public String getBsiToken()
-
getPollingInterval
public int getPollingInterval()
-
getOverrideGlobalConfig
public boolean getOverrideGlobalConfig()
-
setOverrideGlobalConfig
@DataBoundSetter public void setOverrideGlobalConfig(boolean overrideGlobalConfig)
-
getPolicyFailureBuildResultPreference
public int getPolicyFailureBuildResultPreference()
-
setPolicyFailureBuildResultPreference
@DataBoundSetter public void setPolicyFailureBuildResultPreference(int policyFailureBuildResultPreference)
-
getClientId
public String getClientId()
-
setClientId
@DataBoundSetter public void setClientId(String clientId)
-
getClientSecret
public String getClientSecret()
-
setClientSecret
@DataBoundSetter public void setClientSecret(String clientSecret)
-
getUsername
public String getUsername()
-
setUsername
@DataBoundSetter public void setUsername(String username)
-
getPersonalAccessToken
public String getPersonalAccessToken()
-
setPersonalAccessToken
@DataBoundSetter public void setPersonalAccessToken(String personalAccessToken)
-
getTenantId
public String getTenantId()
-
setTenantId
@DataBoundSetter public void setTenantId(String tenantId)
-
prebuild
public boolean prebuild(AbstractBuild<?,?> build, BuildListener listener)
- Specified by:
prebuildin interfaceBuildStep- Overrides:
prebuildin classFortifyStep
-
start
public org.jenkinsci.plugins.workflow.steps.StepExecution start(org.jenkinsci.plugins.workflow.steps.StepContext context) throws Exception- Overrides:
startin classFortifyStep- Throws:
Exception
-
perform
public void perform(Run<?,?> build, FilePath workspace, Launcher launcher, TaskListener listener) throws InterruptedException, IOException
- Throws:
InterruptedExceptionIOException
-
-