com.sonyericsson.jenkins.plugins.bfa.model
Class ScannerJobProperty

java.lang.Object
  extended by hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
      extended by com.sonyericsson.jenkins.plugins.bfa.model.ScannerJobProperty
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.matrix.MatrixAggregatable, hudson.model.Describable<hudson.model.JobProperty<?>>, hudson.model.ReconfigurableDescribable<hudson.model.JobProperty<?>>, hudson.tasks.BuildStep, Serializable

public class ScannerJobProperty
extends hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>
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:
Serialized Form

Nested Class Summary
static class ScannerJobProperty.ScannerJobPropertyDescriptor
          Descriptor for ScannerJobProperty.
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Field Summary
 
Fields inherited from class hudson.model.JobProperty
owner
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
ScannerJobProperty()
          Default Constructor.
ScannerJobProperty(boolean doNotScan)
          Standard DataBound Constructor.
 
Method Summary
 hudson.matrix.MatrixAggregator createAggregator(hudson.matrix.MatrixBuild build, hudson.Launcher launcher, hudson.model.BuildListener listener)
           
 hudson.model.Action getJobAction(hudson.model.AbstractProject<?,?> job)
           
 boolean isDoNotScan()
          The value.
 
Methods inherited from class hudson.model.JobProperty
getDescriptor, getJobActions, getJobOverrides, getProjectAction, getProjectActions, getRequiredMonitorService, getSubTasks, perform, prebuild, reconfigure, setOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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(value=org.kohsuke.accmod.restrictions.NoExternalUse.class)
public hudson.model.Action getJobAction(hudson.model.AbstractProject<?,?> job)
Overrides:
getJobAction in class hudson.model.JobProperty<hudson.model.AbstractProject<?,?>>

createAggregator

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


Copyright © 2004-2014. All Rights Reserved.