Package io.jenkins.plugins.finitestate
Class FiniteStateThirdPartyImportRecorder
java.lang.Object
hudson.tasks.BuildStepCompatibilityLayer
hudson.tasks.Publisher
hudson.tasks.Recorder
io.jenkins.plugins.finitestate.BaseFiniteStateRecorder
io.jenkins.plugins.finitestate.FiniteStateThirdPartyImportRecorder
- All Implemented Interfaces:
ExtensionPoint,Describable<Publisher>,BuildStep,SimpleBuildStep
Refactored Third Party Import Recorder that extends the base class to reduce code duplication.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classNested classes/interfaces inherited from class hudson.tasks.Publisher
Publisher.DescriptorExtensionListImplNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudsonNested classes/interfaces inherited from interface jenkins.tasks.SimpleBuildStep
SimpleBuildStep.LastBuildAction, SimpleBuildStep.LastBuildActionFactory -
Field Summary
Fields inherited from class io.jenkins.plugins.finitestate.BaseFiniteStateRecorder
apiTokenCredentialsId, DEFAULT_POLL_TIMEOUT_MINUTES, externalizableId, pollTimeoutMinutes, preRelease, projectName, projectVersion, subdomain, waitForCompletionFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionFiniteStateThirdPartyImportRecorder(String subdomain, String apiTokenCredentialsId, String scanFilePath, String projectName) -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconfigureRequest(FiniteStateScanRequest request) Populate the type-specific portion of the scan request (kind + per-analysis fields) for the public v0 REST transport.protected StringGet the analysis type name for logging and resultsprotected StringGet the file path field name for validationprotected StringGet the file path valuevoidsetScanFilePath(String scanFilePath) voidsetScanType(String scanType) Methods inherited from class io.jenkins.plugins.finitestate.BaseFiniteStateRecorder
addConsolidatedResult, addConsolidatedResult, getApiTokenCredentialsId, getExternalizableId, getFileFromWorkspace, getPollTimeoutMinutes, getPreRelease, getProjectName, getProjectVersion, getSecretTextValue, getSubdomain, getWaitForCompletion, logCommonInfo, parseVersion, perform, setApiTokenCredentialsId, setExternalizableId, setPollTimeoutMinutes, setPreRelease, setProjectName, setProjectVersion, setSubdomain, setWaitForCompletion, validateCommonFieldsMethods inherited from class hudson.tasks.Recorder
getDescriptorMethods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuildMethods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, perform, prebuildMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.tasks.BuildStep
getProjectAction, getProjectActions, getRequiredMonitorService, perform, prebuildMethods inherited from interface jenkins.tasks.SimpleBuildStep
perform, perform, requiresWorkspace
-
Constructor Details
-
FiniteStateThirdPartyImportRecorder
-
-
Method Details
-
getScanFilePath
-
getScanType
-
setScanFilePath
-
setScanType
-
configureRequest
Description copied from class:BaseFiniteStateRecorderPopulate the type-specific portion of the scan request (kind + per-analysis fields) for the public v0 REST transport. The framework fills the common fields (subdomain, token, project, version, polling, etc.).- Specified by:
configureRequestin classBaseFiniteStateRecorder
-
getAnalysisType
Description copied from class:BaseFiniteStateRecorderGet the analysis type name for logging and results- Specified by:
getAnalysisTypein classBaseFiniteStateRecorder
-
getFilePathFieldName
Description copied from class:BaseFiniteStateRecorderGet the file path field name for validation- Specified by:
getFilePathFieldNamein classBaseFiniteStateRecorder
-
getFilePathValue
Description copied from class:BaseFiniteStateRecorderGet the file path value- Specified by:
getFilePathValuein classBaseFiniteStateRecorder
-