Class PermissionsImpl

  • All Implemented Interfaces:
    Permissions


    public class PermissionsImpl
    extends Object
    implements Permissions
    The implementation of the permissions interface.
    • Constructor Detail

      • PermissionsImpl

        public PermissionsImpl​(int allow,
                               int deny)
        Creates a new instance of this class.
        Parameters:
        allow - An int containing all allowed permission types.
        deny - An int containing all denied permission types.
      • PermissionsImpl

        public PermissionsImpl​(int allow)
        Creates a new instance of this class.
        Parameters:
        allow - An int containing all allowed permission types. Every other type will be set to denied.