Class BuildDeletedEvent

java.lang.Object
java.util.EventObject
org.springframework.context.ApplicationEvent
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:
  • Constructor Details

    • BuildDeletedEvent

      public BuildDeletedEvent(Object source, String buildKey, long id)
  • Method Details

    • getIdOfDeletedItem

      public long getIdOfDeletedItem()
    • appliesToEphemeralAgents

      public boolean appliesToEphemeralAgents()
      Specified by:
      appliesToEphemeralAgents in interface RemoteBroadcastEvent
      Returns:
      true if event should be sent to ephemeral agents