ActivationManager

Base interface for managing activations.

Functions

Link copied to clipboard
abstract fun clear()
Clears all activations from the manager.
Link copied to clipboard
abstract fun getActivationById(@NotNull id: @NotNull UUID): Optional<T>
Gets an activation by its unique identifier.
Link copied to clipboard
abstract fun getActivationByName(@NotNull name: @NotNull String): Optional<T>
Gets an activation by its name.
Link copied to clipboard
abstract fun getActivations(): Collection<T>
Gets a collection of all activations managed by this manager.
Link copied to clipboard
open fun unregister(@NotNull activation: @NotNull T): Boolean
Unregisters a given activation from the manager.
open fun unregister(@NotNull name: @NotNull String): Boolean
Unregisters an activation specified by its name.
abstract fun unregister(@NotNull id: @NotNull UUID): Boolean
Unregisters an activation specified by its unique identifier.