Package hudson.plugins.dimensionsscm
Class DimensionsBuildNotifier
- java.lang.Object
-
- hudson.tasks.BuildStepCompatibilityLayer
-
- hudson.tasks.Publisher
-
- hudson.tasks.Notifier
-
- hudson.plugins.dimensionsscm.DimensionsBuildNotifier
-
- All Implemented Interfaces:
ExtensionPoint
,Describable<Publisher>
,BuildStep
,Serializable
public class DimensionsBuildNotifier extends Notifier implements Serializable
A Notifier that can create, deploy, build or action a baseline (from the SCM project) as a post-build step in a Jenkins build.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DimensionsBuildNotifier.DescriptorImpl
The DimensionsBuildNotifier Descriptor class.-
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
-
-
Field Summary
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description DimensionsBuildNotifier(boolean canDeploy, String deployState, boolean canAction, String actionState, boolean canBuild, String area, String buildConfig, String buildOptions, String buildTargets, String blnScope, String blnTemplate, String blnOwningPart, String blnType, String blnName, boolean batch, boolean buildClean, boolean capture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getActionState()
Gets the action state name.String
getArea()
Gets the area name.String
getBlnName()
Gets the baseline name.String
getBlnOwningPart()
Gets the baseline part spec.String
getBlnScope()
Gets the baseline scope.String
getBlnTemplate()
Gets the baseline template name.String
getBlnType()
Gets the baseline type name.String
getBuildConfig()
Gets the build config name.String
getBuildOptions()
Gets the build options string.String
getBuildTargets()
Gets the build target name.String
getDeployState()
Gets the deploy state name.DimensionsBuildNotifier.DescriptorImpl
getDescriptor()
BuildStepMonitor
getRequiredMonitorService()
boolean
isBatch()
Gets the batch flag.boolean
isBuildClean()
Gets the buildClean flag.boolean
isCanBaselineAction()
Gets the action flag.boolean
isCanBaselineBuild()
Gets the build flag.boolean
isCanBaselineDeploy()
Gets the deploy flag.boolean
isCapture()
Gets the capture flag.boolean
perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
Changes the build result if baseline operation fails.-
Methods inherited from class hudson.tasks.Publisher
all, getProjectAction, needsToRunAfterFinalized, prebuild
-
Methods inherited from class hudson.tasks.BuildStepCompatibilityLayer
getProjectAction, getProjectActions, perform, prebuild
-
-
-
-
Constructor Detail
-
DimensionsBuildNotifier
public DimensionsBuildNotifier(boolean canDeploy, String deployState, boolean canAction, String actionState, boolean canBuild, String area, String buildConfig, String buildOptions, String buildTargets, String blnScope, String blnTemplate, String blnOwningPart, String blnType, String blnName, boolean batch, boolean buildClean, boolean capture)
-
-
Method Detail
-
getBlnOwningPart
public String getBlnOwningPart()
Gets the baseline part spec.
-
getBlnType
public String getBlnType()
Gets the baseline type name.
-
getBlnTemplate
public String getBlnTemplate()
Gets the baseline template name.
-
getBlnName
public String getBlnName()
Gets the baseline name.
-
getBlnScope
public String getBlnScope()
Gets the baseline scope.
-
isCanBaselineBuild
public boolean isCanBaselineBuild()
Gets the build flag.
-
isCanBaselineAction
public boolean isCanBaselineAction()
Gets the action flag.
-
isCanBaselineDeploy
public boolean isCanBaselineDeploy()
Gets the deploy flag.
-
isBatch
public boolean isBatch()
Gets the batch flag.
-
isBuildClean
public boolean isBuildClean()
Gets the buildClean flag.
-
isCapture
public boolean isCapture()
Gets the capture flag.
-
getActionState
public String getActionState()
Gets the action state name.
-
getDeployState
public String getDeployState()
Gets the deploy state name.
-
getArea
public String getArea()
Gets the area name.
-
getBuildConfig
public String getBuildConfig()
Gets the build config name.
-
getBuildOptions
public String getBuildOptions()
Gets the build options string.
-
getBuildTargets
public String getBuildTargets()
Gets the build target name.
-
getRequiredMonitorService
public BuildStepMonitor getRequiredMonitorService()
- Specified by:
getRequiredMonitorService
in interfaceBuildStep
-
perform
public boolean perform(AbstractBuild<?,?> build, Launcher launcher, BuildListener listener)
Changes the build result if baseline operation fails. (So cannot override Publisher.needsToRunAfterFinalized()).- Specified by:
perform
in interfaceBuildStep
- Overrides:
perform
in classBuildStepCompatibilityLayer
-
getDescriptor
public DimensionsBuildNotifier.DescriptorImpl getDescriptor()
- Specified by:
getDescriptor
in interfaceDescribable<Publisher>
- Overrides:
getDescriptor
in classNotifier
-
-