public static class TriggerMonitor.EventState extends Object
Modifier and Type | Method and Description |
---|---|
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.
|
GerritEventLifecycle |
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.
|
public String getBallColor()
Result.color
,
BallColor.getImage()
public boolean isUnTriggered()
isTriggerScanDone()
&& getBuilds()
.size() <= 0
unless not isTriggerScanStarted()
.public GerritEventLifecycle getEvent()
public boolean isTriggerScanStarted()
public boolean isTriggerScanDone()
public boolean isAllBuildsCompleted()
public List<TriggeredItemEntity> getBuilds()
public boolean isReallyAllBuildsCompleted()
TriggerMonitor.allBuildsCompleted(GerritEvent)
has been called that only applies to non silent builds, an extra check is needed.Copyright © 2004-2015. All Rights Reserved.