hudson.plugins.parameterizedtrigger
Class BlockingBehaviour
java.lang.Object
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
|
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 |
unstableThreshold
public final hudson.model.Result unstableThreshold
failureThreshold
public final hudson.model.Result failureThreshold
BlockingBehaviour
@DataBoundConstructor
public BlockingBehaviour(java.lang.String unstableThreshold,
java.lang.String failureThreshold)
BlockingBehaviour
public BlockingBehaviour(hudson.model.Result unstableThreshold,
hudson.model.Result failureThreshold)
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.