Enum ACLType

  • All Implemented Interfaces:
    Serializable, Comparable<ACLType>

    public enum ACLType
    extends Enum<ACLType>
    The Enum ACLType.
    Author:
    Francesco Mangiacrapa at ISTI-CNR (francesco.mangiacrapa@isti.cnr.it) Jun 15, 2018
    • Enum Constant Detail

      • NONE

        public static final ACLType NONE
        Access denied to user.
      • READ_ONLY

        public static final ACLType READ_ONLY
        Allow users to only read files.
      • WRITE_OWNER

        public static final ACLType WRITE_OWNER
        Allow users to create, edit and delete their own files.
      • WRITE_ALL

        public static final ACLType WRITE_ALL
        Allow users to create, edit and delete files of everyone in the share.
      • ADMINISTRATOR

        public static final ACLType ADMINISTRATOR
        All privileges.
    • Method Detail

      • values

        public static ACLType[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (ACLType c : ACLType.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static ACLType valueOf​(String name)
        Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
        Parameters:
        name - the name of the enum constant to be returned.
        Returns:
        the enum constant with the specified name
        Throws:
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null