Interface UserActionProvider

    • Field Detail

      • _UserActionProvider_

        static final java.lang.Class<UserActionProvider> _UserActionProvider_
    • Method Detail

      • getActions

        @Nonnull
        java.util.Collection<? extends UserAction> getActions()
        Returns a collection of UserActions.
        Returns:
        a collection of actions
      • getOptionalDefaultAction

        @Nonnull
        default java.util.Optional<UserAction> getOptionalDefaultAction()
        Returns the default action, if available.
        Returns:
        the default action
        Since:
        3.1-ALPHA-2
      • of

        @Nonnull
        static UserActionProvider of​(@Nonnull
                                     UserAction... actions)
        Factory method which creates an instance out of an array of UserActions. The first one is considered the default action.
        Parameters:
        actions - the actions
        Returns:
        the UserActionProvider
        Since:
        3.1-ALPHA-2