Class CodePipelineStateService
java.lang.Object
com.amazonaws.codepipeline.jenkinsplugin.CodePipelineStateService
Per-thread storage of
CodePipelineStateModel
.
This class is using ThreadLocal storage to manage the CodePipelineSateModel per thread of execution.
This is done for passing data between the SCM and the Publisher modules in the face of concurrent builds.
Otherwise, the model gets overwritten.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic CodePipelineStateModel
getModel()
static void
static void
setModel
(CodePipelineStateModel model)
-
Constructor Details
-
CodePipelineStateService
public CodePipelineStateService()
-
-
Method Details
-
setModel
-
getModel
-
removeModel
public static void removeModel()
-