com.atlassian.bamboo.event
Class BuildCanceledEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.event.Event
com.atlassian.bamboo.event.BuildEvent
com.atlassian.bamboo.event.BuildResultEvent
com.atlassian.bamboo.event.BuildCanceledEvent
- All Implemented Interfaces:
- java.io.Serializable
public class BuildCanceledEvent
- extends BuildResultEvent
Fired when Build is canceled through the StopBuildManager
- Since:
- 2.5
- See Also:
- Serialized Form
Fields inherited from class java.util.EventObject |
source |
Constructor Summary |
BuildCanceledEvent(java.lang.Object source,
java.lang.String buildKey,
int buildNumber,
java.lang.Long agentId,
boolean resultAbandoned)
|
Methods inherited from class com.atlassian.event.Event |
equals, hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
Methods inherited from class java.util.EventObject |
getSource, toString |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
BuildCanceledEvent
public BuildCanceledEvent(java.lang.Object source,
java.lang.String buildKey,
int buildNumber,
java.lang.Long agentId,
boolean resultAbandoned)
getAgentId
@Nullable
public java.lang.Long getAgentId()
- Agent that the Build was running on. Returns null if not queued.
- Returns:
- agentId
isResultAbandoned
public boolean isResultAbandoned()
- Was the result Abandoned. Typically results that are 'abandoned' are canceled builds while non-abandoned builds were stopped.
- Returns:
- abandoned
Copyright © 2010 Atlassian. All Rights Reserved.