public class SkipVote extends Object implements Serializable
GerritTrigger
.Constructor and Description |
---|
SkipVote()
Default Constructor.
|
SkipVote(boolean onSuccessful,
boolean onFailed,
boolean onUnstable,
boolean onNotBuilt)
Standard DataBound Constructor.
|
Modifier and Type | Method and Description |
---|---|
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. |
@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()
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.Copyright © 2004-2016. All Rights Reserved.