getActivationByName

abstract fun getActivationByName(@NotNull name: @NotNull String): Optional<T>

Gets an activation by its name.

Return

An optional containing the activation if found, or an empty optional if not found.

Parameters

name

The name of the activation.