|
||||||||||
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.actions.manual.TriggerMonitor.EventState
public static class TriggerMonitor.EventState
State information about an event.
Method Summary | |
---|---|
String |
getBallColor()
Returns the appropriate ball color for the current status of this event and its builds. |
List<TriggeredItemEntity> |
getBuilds()
Gets the builds that has started for this event. |
PatchsetCreated |
getEvent()
The event. |
boolean |
isAllBuildsCompleted()
If all builds started by this event has completed. |
boolean |
isReallyAllBuildsCompleted()
Goes through the list of builds and checks if anyone is still building. |
boolean |
isTriggerScanDone()
If all the active triggers in the system has been notified about this event. |
boolean |
isTriggerScanStarted()
If the active triggers in the system has started to be notified. |
boolean |
isUnTriggered()
If no active triggers where interested in this event. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getBallColor()
Result.color
,
BallColor.getImage()
public boolean isUnTriggered()
isTriggerScanDone()
&& getBuilds()
.size() <= 0
unless not isTriggerScanStarted()
.
public PatchsetCreated getEvent()
public boolean isTriggerScanStarted()
public boolean isTriggerScanDone()
public boolean isAllBuildsCompleted()
public List<TriggeredItemEntity> getBuilds()
public boolean isReallyAllBuildsCompleted()
TriggerMonitor.allBuildsCompleted(PatchsetCreated)
has been called that only applies to non silent builds, an extra check is needed.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |