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 the MatrixAggregatable
Author:
Robert Sandell <robert.sandell@sonymobile.com>
See Also:
  • 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 class JobProperty<Job<?,?>>
    • createAggregator

      public hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, Launcher launcher, BuildListener listener)
      Specified by:
      createAggregator in interface hudson.matrix.MatrixAggregatable