Class RoleConfigurator

All Implemented Interfaces:
Iterable<ComponentType>, Channel, ComponentType, Eligible, Manager

public class RoleConfigurator extends Component
Configures roles (of type {@link ConsoleRole)} for the user currently logged in.
  • Constructor Details

    • RoleConfigurator

      public RoleConfigurator(Channel componentChannel)
      Creates a new component with its channel set to the given channel.
      Parameters:
      componentChannel - the channel that the component’s handlers listen on by default and that Manager.fire(Event, Channel...) sends the event to
    • RoleConfigurator

      public RoleConfigurator(Channel componentChannel, Map<?,?> properties)
      Creates a new component with its channel set to the given channel.

      Supported properties are:

      Parameters:
      componentChannel - the channel that the component’s handlers listen on by default and that Manager.fire(Event, Channel...) sends the event to
      properties - the properties used to configure the component
  • Method Details