Class MultipleEnvironmentsDeletedEvent

java.lang.Object
com.atlassian.bamboo.deployments.environments.events.MultipleEnvironmentsDeletedEvent
All Implemented Interfaces:
RemoteBroadcastEvent, Serializable

@AsynchronousPreferred public class MultipleEnvironmentsDeletedEvent extends Object implements RemoteBroadcastEvent
Fired after a number of Environments was deleted, including being deleted by cascade.
See Also:
  • Constructor Details

    • MultipleEnvironmentsDeletedEvent

      public MultipleEnvironmentsDeletedEvent(@NotNull @NotNull List<Long> deletedEnvironmentIds, @NotNull @NotNull List<Key> deletedEnvironmentKeys, @NotNull @NotNull Set<String> jiraIssueKeys)
  • Method Details

    • getDeletedEnvironmentIds

      @NotNull public @NotNull List<Long> getDeletedEnvironmentIds()
    • getDeletedEnvironmentKeys

      @NotNull public @NotNull List<Key> getDeletedEnvironmentKeys()
      Since:
      7.1
    • appliesToEphemeralAgents

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

      @NotNull public @NotNull FinalHashSet<String> getJiraIssuesKeys()
      Since:
      8.2