Class ScannerJobProperty
- java.lang.Object
-
- hudson.model.JobProperty<Job<?,?>>
-
- com.sonyericsson.jenkins.plugins.bfa.model.ScannerJobProperty
-
- All Implemented Interfaces:
ExtensionPoint
,hudson.matrix.MatrixAggregatable
,Describable<JobProperty<?>>
,ReconfigurableDescribable<JobProperty<?>>
,BuildStep
,Serializable
public class ScannerJobProperty extends JobProperty<Job<?,?>> implements hudson.matrix.MatrixAggregatable, Serializable
A JobProperty that flags a job that should not be scanned. Also works as theMatrixAggregatable
- Author:
- Robert Sandell <robert.sandell@sonymobile.com>
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ScannerJobProperty.ScannerJobPropertyDescriptor
Descriptor forScannerJobProperty
.-
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 class hudson.model.JobProperty
owner
-
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
-
-
Constructor Summary
Constructors Constructor Description ScannerJobProperty()
Default Constructor.ScannerJobProperty(boolean doNotScan)
Standard DataBound Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description hudson.matrix.MatrixAggregator
createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener)
Action
getJobAction(Job<?,?> job)
boolean
isDoNotScan()
The value.-
Methods inherited from class hudson.model.JobProperty
getDescriptor, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, setOwner
-
-
-
-
Constructor Detail
-
ScannerJobProperty
@DataBoundConstructor public ScannerJobProperty(boolean doNotScan)
Standard DataBound Constructor.- Parameters:
doNotScan
- signal that builds of this job should not be scanned.
-
ScannerJobProperty
public ScannerJobProperty()
Default Constructor. Do not use unless you are a serializer!
-
-
Method Detail
-
isDoNotScan
public boolean isDoNotScan()
The value. True turns the scanner off.- Returns:
- if no scan should be done.
-
getJobAction
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class) public Action getJobAction(Job<?,?> job)
- Overrides:
getJobAction
in classJobProperty<Job<?,?>>
-
createAggregator
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener)
- Specified by:
createAggregator
in interfacehudson.matrix.MatrixAggregatable
-
-