|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sonyericsson.hudson.plugins.gerrit.trigger.hudsontrigger.data.SkipVote
public class SkipVote
Information about what votes to "skip" for a
GerritTrigger
.
Constructor Summary | |
---|---|
SkipVote()
Default Constructor. |
|
SkipVote(boolean onSuccessful,
boolean onFailed,
boolean onUnstable,
boolean onNotBuilt)
Standard DataBound Constructor. |
Method Summary | |
---|---|
boolean |
isOnFailed()
If the vote should be skipped (not counted) for Result.FAILURE builds. |
boolean |
isOnNotBuilt()
If the vote should be skipped (not counted) for Result.NOT_BUILT builds. |
boolean |
isOnSuccessful()
If the vote should be skipped (not counted) for Result.SUCCESS builds. |
boolean |
isOnUnstable()
If the vote should be skipped (not counted) for Result.UNSTABLE builds. |
void |
setOnFailed(boolean onFailed)
If the vote should be skipped (not counted) for Result.FAILURE builds. |
void |
setOnNotBuilt(boolean onNotBuilt)
If the vote should be skipped (not counted) for Result.NOT_BUILT builds. |
void |
setOnSuccessful(boolean onSuccessful)
If the vote should be skipped (not counted) for Result.SUCCESS builds. |
void |
setOnUnstable(boolean onUnstable)
If the vote should be skipped (not counted) for Result.UNSTABLE builds. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
@DataBoundConstructor public SkipVote(boolean onSuccessful, boolean onFailed, boolean onUnstable, boolean onNotBuilt)
onSuccessful
- if the vote should be skipped (not counted) for Result.SUCCESS
builds.onFailed
- if the vote should be skipped (not counted) for Result.FAILURE
builds.onUnstable
- if the vote should be skipped (not counted) for Result.UNSTABLE
builds.onNotBuilt
- if the vote should be skipped (not counted) for Result.NOT_BUILT
builds.public SkipVote()
Method Detail |
---|
public boolean isOnSuccessful()
Result.SUCCESS
builds.
public void setOnSuccessful(boolean onSuccessful)
Result.SUCCESS
builds.
onSuccessful
- true if it should be skipped.public boolean isOnFailed()
Result.FAILURE
builds.
public void setOnFailed(boolean onFailed)
Result.FAILURE
builds.
onFailed
- true if it should be skipped.public boolean isOnUnstable()
Result.UNSTABLE
builds.
public void setOnUnstable(boolean onUnstable)
Result.UNSTABLE
builds.
onUnstable
- true if it should be skipped.public boolean isOnNotBuilt()
Result.NOT_BUILT
builds.
public void setOnNotBuilt(boolean onNotBuilt)
Result.NOT_BUILT
builds.
onNotBuilt
- true if it should be skipped.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |