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:
- PlanEvent, PlanResultEvent, Serializable
public class BuildCanceledEvent
- extends BuildResultEvent
Fired when Build is canceled through the StopBuildManager
- Since:
- 2.5
- See Also:
- Serialized Form
Methods inherited from class com.atlassian.event.Event |
equals, hashCode |
Methods inherited from class org.springframework.context.ApplicationEvent |
getTimestamp |
BuildCanceledEvent
public BuildCanceledEvent(Object source,
CurrentlyBuilding currentlyBuilding)
getAgentId
@Nullable
public Long getAgentId()
- Agent that the Build was running on. Returns null if not queued.
- Returns:
- agentId
isResultAbandoned
@Deprecated
public boolean isResultAbandoned()
- Deprecated. since 5.6 without replacement. Not used since 2.7
- Was the result Abandoned. Typically results that are 'abandoned' are canceled builds while non-abandoned builds were stopped.
- Returns:
- always false
getCancellationDate
public Date getCancellationDate()
Copyright © 2015 Atlassian Software Systems Pty Ltd. All rights reserved.