|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecthudson.plugins.cigame.util.ResultSequenceValidator
public class ResultSequenceValidator
Class that simplifies checking if a build sequence is above a certain result threshold. Use the class to check for example if there has been five builds in a row that is Unstable or better.
| Constructor Summary | |
|---|---|
ResultSequenceValidator(hudson.model.Result resultThreshold,
int sequenceLength)
|
|
| Method Summary | |
|---|---|
boolean |
isValid(hudson.model.AbstractBuild<?,?> build)
Returns true if the build sequence meets the requirements |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ResultSequenceValidator(hudson.model.Result resultThreshold,
int sequenceLength)
| Method Detail |
|---|
public boolean isValid(hudson.model.AbstractBuild<?,?> build)
build - latest build in sequence
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||