hudson.plugins.buildblocker
Class BuildBlockerProperty

java.lang.Object
  extended by hudson.model.JobProperty<hudson.model.Job<?,?>>
      extended by hudson.plugins.buildblocker.BuildBlockerProperty
All Implemented Interfaces:
hudson.ExtensionPoint, hudson.model.Describable<hudson.model.JobProperty<?>>, hudson.model.ReconfigurableDescribable<hudson.model.JobProperty<?>>, hudson.tasks.BuildStep

public class BuildBlockerProperty
extends hudson.model.JobProperty<hudson.model.Job<?,?>>

Job property that stores the line feed separated list of regular expressions that define the blocking jobs.


Nested Class Summary
static class BuildBlockerProperty.BuildBlockerDescriptor
          Descriptor
 
Nested classes/interfaces inherited from interface hudson.tasks.BuildStep
hudson.tasks.BuildStep.PublisherList
 
Nested classes/interfaces inherited from interface hudson.ExtensionPoint
hudson.ExtensionPoint.LegacyInstancesAreScopedToHudson
 
Field Summary
static String BLOCKING_JOBS_KEY
          blocking jobs form field name
static String USE_BUILD_BLOCKER
          the enable checkbox in the job's config
 
Fields inherited from class hudson.model.JobProperty
owner
 
Fields inherited from interface hudson.tasks.BuildStep
BUILDERS, PUBLISHERS
 
Constructor Summary
BuildBlockerProperty()
           
 
Method Summary
 String getBlockingJobs()
          Returns the text of the blocking jobs field.
 boolean isUseBuildBlocker()
          Returns true if the build blocker is enabled.
 void setBlockingJobs(String blockingJobs)
          Sets the blocking jobs field
 void setUseBuildBlocker(boolean useBuildBlocker)
          Sets the build blocker flag.
 
Methods inherited from class hudson.model.JobProperty
getDescriptor, getJobAction, 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
 

Field Detail

USE_BUILD_BLOCKER

public static final String USE_BUILD_BLOCKER
the enable checkbox in the job's config

See Also:
Constant Field Values

BLOCKING_JOBS_KEY

public static final String BLOCKING_JOBS_KEY
blocking jobs form field name

See Also:
Constant Field Values
Constructor Detail

BuildBlockerProperty

public BuildBlockerProperty()
Method Detail

isUseBuildBlocker

public boolean isUseBuildBlocker()
Returns true if the build blocker is enabled.

Returns:
true if the build blocker is enabled

setUseBuildBlocker

public void setUseBuildBlocker(boolean useBuildBlocker)
Sets the build blocker flag.

Parameters:
useBuildBlocker - the build blocker flag

getBlockingJobs

public String getBlockingJobs()
Returns the text of the blocking jobs field.

Returns:
the text of the blocking jobs field

setBlockingJobs

public void setBlockingJobs(String blockingJobs)
Sets the blocking jobs field

Parameters:
blockingJobs - the blocking jobs entry


Copyright © 2004-2012. All Rights Reserved.