Class AbstractMeshNodeEvent

java.lang.Object
java.util.EventObject
com.atlassian.bitbucket.event.ApplicationEvent
com.atlassian.bitbucket.event.mesh.AbstractMeshNodeEvent
All Implemented Interfaces:
MeshNodeEvent, Serializable
Direct Known Subclasses:
MeshNodeAvailabilityChangedEvent, MeshNodeRegisteredEvent, MeshNodeUpdatedEvent

public abstract class AbstractMeshNodeEvent extends ApplicationEvent implements MeshNodeEvent
A base class for constructing MeshNodeEvents.
Since:
8.0
See Also:
  • Constructor Details

    • AbstractMeshNodeEvent

      protected AbstractMeshNodeEvent(@Nonnull Object source, @Nonnull MeshNode node)
  • Method Details

    • getNode

      @Nonnull public MeshNode getNode()
      Returns:
      the node for which the event was raised
    • getNodeId

      public long getNodeId()
      Specified by:
      getNodeId in interface MeshNodeEvent
      Returns:
      the node's ID