Package com.atlassian.bamboo.event
Class BuildDeletedEvent
- java.lang.Object
-
- java.util.EventObject
-
- org.springframework.context.ApplicationEvent
-
- com.atlassian.event.Event
-
- 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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class java.util.EventObject
source
-
Fields inherited from interface com.atlassian.bamboo.event.RemoteBroadcastEvent
DEFAULT_SOURCE
-
-
Constructor Summary
Constructors Constructor Description BuildDeletedEvent(Object source, String buildKey, long id)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
appliesToEphemeralAgents()
long
getIdOfDeletedItem()
-
Methods inherited from class com.atlassian.bamboo.event.BuildEvent
getBuildPlanKey, getPlanKey, toString
-
Methods inherited from class java.util.EventObject
getSource
-
-
-
-
Method Detail
-
getIdOfDeletedItem
public long getIdOfDeletedItem()
-
appliesToEphemeralAgents
public boolean appliesToEphemeralAgents()
- Specified by:
appliesToEphemeralAgents
in interfaceRemoteBroadcastEvent
- Returns:
- true if event should be sent to ephemeral agents
-
-