hudson.plugins.parameterizedtrigger
Class BlockingBehaviour

java.lang.Object
  extended by hudson.plugins.parameterizedtrigger.BlockingBehaviour
All Implemented Interfaces:
hudson.model.Describable<BlockingBehaviour>

public class BlockingBehaviour
extends java.lang.Object
implements hudson.model.Describable<BlockingBehaviour>

Determines how to handle the status of the triggered builds in TriggerBuilder.

Author:
Kohsuke Kawaguchi

Nested Class Summary
static class BlockingBehaviour.DescriptorImpl
           
 
Field Summary
 hudson.model.Result failureThreshold
           
 hudson.model.Result unstableThreshold
           
 
Constructor Summary
BlockingBehaviour(hudson.model.Result unstableThreshold, hudson.model.Result failureThreshold)
           
BlockingBehaviour(java.lang.String unstableThreshold, java.lang.String failureThreshold)
           
 
Method Summary
 hudson.model.Descriptor<BlockingBehaviour> getDescriptor()
           
 hudson.model.Result mapResult(hudson.model.Result r)
          Maps the result of the triggered build to the result of the triggering build.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

unstableThreshold

public final hudson.model.Result unstableThreshold

failureThreshold

public final hudson.model.Result failureThreshold
Constructor Detail

BlockingBehaviour

@DataBoundConstructor
public BlockingBehaviour(java.lang.String unstableThreshold,
                                              java.lang.String failureThreshold)

BlockingBehaviour

public BlockingBehaviour(hudson.model.Result unstableThreshold,
                         hudson.model.Result failureThreshold)
Method Detail

mapResult

public hudson.model.Result mapResult(hudson.model.Result r)
Maps the result of the triggered build to the result of the triggering build.


getDescriptor

public hudson.model.Descriptor<BlockingBehaviour> getDescriptor()
Specified by:
getDescriptor in interface hudson.model.Describable<BlockingBehaviour>


Copyright © 2004-2011. All Rights Reserved.