Package org.jenkinsci.plugins.fodupload
Class StaticAssessmentBuildStep
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Recorder
-
- org.jenkinsci.plugins.fodupload.StaticAssessmentBuildStep
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,SimpleBuildStep
public final class StaticAssessmentBuildStep extends Recorder implements SimpleBuildStep
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
StaticAssessmentBuildStep.StaticAssessmentStepDescriptor
-
Nested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImpl
-
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 StaticAssessmentBuildStep(String releaseId, String bsiToken, boolean overrideGlobalConfig, String username, String personalAccessToken, String tenantId, boolean purchaseEntitlements, String entitlementPreference, String userSelectedAssessmentType, String userSelectedEntitlementId, String userSelectedFrequencyType, String userSelectedTechnologyStack, String userSelectedLanguageLevel, boolean sonatypeEnabled, String userSelectedAuditPreference, String srcLocation, String remediationScanPreferenceType, String inProgressScanActionType, String inProgressBuildResultType, String selectedReleaseType, String userSelectedApplication, String userSelectedMicroservice, String userSelectedRelease, String selectedScanCentralBuildType, boolean scanCentralIncludeTests, boolean scanCentralSkipBuild, String scanCentralBuildCommand, String scanCentralBuildFile, String scanCentralExcludeFiles, String scanCentralBuildToolVersion, String scanCentralVirtualEnv, String scanCentralRequirementFile)
-
Method Summary
-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform
-
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, perform
-
Methods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
-
-
-
Constructor Detail
-
StaticAssessmentBuildStep
@DataBoundConstructor public StaticAssessmentBuildStep(String releaseId, String bsiToken, boolean overrideGlobalConfig, String username, String personalAccessToken, String tenantId, boolean purchaseEntitlements, String entitlementPreference, String userSelectedAssessmentType, String userSelectedEntitlementId, String userSelectedFrequencyType, String userSelectedTechnologyStack, String userSelectedLanguageLevel, boolean sonatypeEnabled, String userSelectedAuditPreference, String srcLocation, String remediationScanPreferenceType, String inProgressScanActionType, String inProgressBuildResultType, String selectedReleaseType, String userSelectedApplication, String userSelectedMicroservice, String userSelectedRelease, String selectedScanCentralBuildType, boolean scanCentralIncludeTests, boolean scanCentralSkipBuild, String scanCentralBuildCommand, String scanCentralBuildFile, String scanCentralExcludeFiles, String scanCentralBuildToolVersion, String scanCentralVirtualEnv, String scanCentralRequirementFile) throws IllegalArgumentException, FormValidation
-
-
Method Detail
-
prebuild
public boolean prebuild(AbstractBuild<?,?> build, BuildListener listener)
- Specified by:
prebuild
in interfaceBuildStep
- Overrides:
prebuild
in classBuildStepCompatibilityLayer
-
perform
public void perform(@Nonnull Run<?,?> build, @Nonnull FilePath workspace, @Nonnull Launcher launcher, @Nonnull TaskListener listener)
- Specified by:
perform
in interfaceSimpleBuildStep
-
getDescriptor
public StaticAssessmentBuildStep.StaticAssessmentStepDescriptor getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classRecorder
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
getReleaseId
@JavaScriptMethod public String getReleaseId()
-
getBsiToken
@JavaScriptMethod public String getBsiToken()
-
getUsername
public String getUsername()
-
getPersonalAccessToken
public String getPersonalAccessToken()
-
getTenantId
public String getTenantId()
-
getOverrideGlobalConfig
public boolean getOverrideGlobalConfig()
-
getEntitlementPreference
public String getEntitlementPreference()
-
getPurchaseEntitlements
public boolean getPurchaseEntitlements()
-
getSrcLocation
public String getSrcLocation()
-
getRemediationScanPreferenceType
public String getRemediationScanPreferenceType()
-
getInProgressScanActionType
public String getInProgressScanActionType()
-
getInProgressBuildResultType
public String getInProgressBuildResultType()
-
getUserSelectedApplication
@JavaScriptMethod public String getUserSelectedApplication()
-
getUserSelectedMicroservice
@JavaScriptMethod public String getUserSelectedMicroservice()
-
getUserSelectedRelease
@JavaScriptMethod public String getUserSelectedRelease()
-
getSelectedReleaseType
public String getSelectedReleaseType()
-
getSelectedScanCentralBuildType
public String getSelectedScanCentralBuildType()
-
getScanCentralSkipBuild
public boolean getScanCentralSkipBuild()
-
getScanCentralBuildCommand
public String getScanCentralBuildCommand()
-
getScanCentralBuildFile
public String getScanCentralBuildFile()
-
getScanCentralExcludeFiles
public String getScanCentralExcludeFiles()
-
getScanCentralBuildToolVersion
public String getScanCentralBuildToolVersion()
-
getScanCentralVirtualEnv
public String getScanCentralVirtualEnv()
-
getScanCentralRequirementFile
public String getScanCentralRequirementFile()
-
-