Enum AccessControlImporter.ImportBehavior

    • Enum Constant Detail

      • DEFAULT

        public static final AccessControlImporter.ImportBehavior DEFAULT
        Default behavior that does not try to prevent errors or incompatibilities between the content and the ACL manager (eg. does not try to fix missing principals)

        public static final AccessControlImporter.ImportBehavior BEST_EFFORT
        Tries to minimize errors by adapting the content and bypassing validation checks (e.g. allows adding ACEs with missing principals, even if ACL manager would not allow this).
    • Method Detail

      • values

        public static AccessControlImporter.ImportBehavior[] 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 (AccessControlImporter.ImportBehavior c : AccessControlImporter.ImportBehavior.values())
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static AccessControlImporter.ImportBehavior 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.)
        name - the name of the enum constant to be returned.
        the enum constant with the specified name
        IllegalArgumentException - if this enum type has no constant with the specified name
        NullPointerException - if the argument is null
      • getString

        public String getString()