Interface PermissionsBuilderDelegate



  • public interface PermissionsBuilderDelegate
    This class is internally used by the PermissionsBuilder to create permissions. You usually don't want to interact with this object.
    • Method Detail

      • setState

        void setState​(PermissionType type,
                      PermissionState state)
        Sets the new state of the given type.
        Parameters:
        type - The type to change.
        state - The state to set.
      • getState

        PermissionState getState​(PermissionType type)
        Gets the state of the given type.
        Parameters:
        type - The type to check.
        Returns:
        The state of the given type.
      • build

        Permissions build​()
        Creates a Permissions instance with the given values.
        Returns:
        The created permissions instance.