Class 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 the
MatrixAggregatable
- Author:
- Robert Sandell <robert.sandell@sonymobile.com>
- See Also:
-
Nested Class Summary
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
ConstructorDescriptionDefault Constructor.ScannerJobProperty
(boolean doNotScan) Standard DataBound Constructor. -
Method Summary
Modifier and TypeMethodDescriptionhudson.matrix.MatrixAggregator
createAggregator
(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener) getJobAction
(Job<?, ?> job) boolean
The value.Methods inherited from class hudson.model.JobProperty
getDescriptor, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, reconfigure, setOwner
-
Constructor Details
-
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 Details
-
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
-