Class BridgeConfigurationUpdateEvent

java.lang.Object
eu.cloudnetservice.driver.event.Event
eu.cloudnetservice.modules.bridge.event.BridgeConfigurationUpdateEvent

public final class BridgeConfigurationUpdateEvent extends eu.cloudnetservice.driver.event.Event
Called when the bridge configuration was updated. This event is called both on all nodes in the cluster and all services running the bridge.
Since:
4.0
  • Field Details

  • Constructor Details

    • BridgeConfigurationUpdateEvent

      public BridgeConfigurationUpdateEvent(@NonNull @NonNull BridgeConfiguration bridgeConfiguration)
      Constructs a new configuration update event with the given configuration.
      Parameters:
      bridgeConfiguration - the updated configuration.
      Throws:
      NullPointerException - if the given configuration is null.
  • Method Details

    • bridgeConfiguration

      @NonNull public @NonNull BridgeConfiguration bridgeConfiguration()
      Gets the updated configuration that was received on this component.
      Returns:
      the updated configuration.