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 ClassesNested classes/interfaces inherited from interface hudson.tasks.BuildStep
BuildStep.PublisherListNested classes/interfaces inherited from interface hudson.ExtensionPoint
ExtensionPoint.LegacyInstancesAreScopedToHudson -
Field Summary
Fields inherited from class hudson.model.JobProperty
ownerFields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS -
Constructor Summary
ConstructorsConstructorDescriptionDefault Constructor.ScannerJobProperty(boolean doNotScan) Standard DataBound Constructor. -
Method Summary
Modifier and TypeMethodDescriptionhudson.matrix.MatrixAggregatorcreateAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener) getJobAction(Job<?, ?> job) booleanThe 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:
getJobActionin classJobProperty<Job<?,?>>
-
createAggregator
public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener) - Specified by:
createAggregatorin interfacehudson.matrix.MatrixAggregatable
-