Package com.atlassian.bamboo.event
Class BuildDeletedEvent
java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
com.atlassian.bamboo.event.BambooEvent
com.atlassian.bamboo.event.BuildEvent
com.atlassian.bamboo.event.BuildDeletedEvent
- All Implemented Interfaces:
PlanEvent
,RemoteBroadcastEvent
,Serializable
@AsynchronousPreferred
public class BuildDeletedEvent
extends BuildEvent
implements RemoteBroadcastEvent
Event triggered when a build or Job is deleted
- See Also:
-
Field Summary
Fields inherited from class java.util.EventObject
source
Fields inherited from interface com.atlassian.bamboo.event.RemoteBroadcastEvent
DEFAULT_SOURCE
-
Constructor Summary
-
Method Summary
Methods inherited from class com.atlassian.bamboo.event.BuildEvent
getBuildPlanKey, getPlanKey, toString
Methods inherited from class com.atlassian.bamboo.event.BambooEvent
equals, hashCode
Methods inherited from class org.springframework.context.ApplicationEvent
getTimestamp
Methods inherited from class java.util.EventObject
getSource
-
Constructor Details
-
BuildDeletedEvent
-
-
Method Details
-
getIdOfDeletedItem
public long getIdOfDeletedItem() -
appliesToEphemeralAgents
public boolean appliesToEphemeralAgents()- Specified by:
appliesToEphemeralAgents
in interfaceRemoteBroadcastEvent
- Returns:
- true if event should be sent to ephemeral agents
-