| Modifier and Type | Class and Description |
|---|---|
static class |
ThresholdCondition.DescritorImpl |
| Modifier and Type | Field and Description |
|---|---|
static int |
NO_MATCH |
| Constructor and Description |
|---|
ThresholdCondition(String env,
int threshold) |
| Modifier and Type | Method and Description |
|---|---|
hudson.model.Fingerprint.RangeSet |
calcMatchingBuildNumberOf(hudson.model.Job upstream,
DeploymentFacet<?> facet)
Checks if the specified
DeploymentFacet would meet the deployment condition
of the given Job. |
String |
getEnv() |
int |
getThreshold() |
calcMatchingBuildNumberOf, getDescriptorpublic static final int NO_MATCH
@DataBoundConstructor public ThresholdCondition(String env, int threshold)
public String getEnv()
public int getThreshold()
public hudson.model.Fingerprint.RangeSet calcMatchingBuildNumberOf(hudson.model.Job upstream,
DeploymentFacet<?> facet)
ConditionDeploymentFacet would meet the deployment condition
of the given Job. If so, return the build number of the job that matches,
otherwise return negative number to indicate no match.calcMatchingBuildNumberOf in class ConditionCopyright © 2004-2014. All Rights Reserved.