Enum LocalBackendCfgDefn.WritabilityMode

    • Enum Constant Detail

      • ENABLED

        public static final LocalBackendCfgDefn.WritabilityMode ENABLED
        Allows write operations to be performed in that backend (if the requested operation is valid, the user has permission to perform the operation, the backend supports that type of write operation, and the global writability-mode property is also enabled).
      • INTERNAL_ONLY

        public static final LocalBackendCfgDefn.WritabilityMode INTERNAL_ONLY
        Causes external write attempts to fail but allows writes by replication and internal operations.
    • Method Detail

      • values

        public static LocalBackendCfgDefn.WritabilityMode[] 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 (LocalBackendCfgDefn.WritabilityMode c : LocalBackendCfgDefn.WritabilityMode.values())
            System.out.println(c);
        
        Returns:
        an array containing the constants of this enum type, in the order they are declared
      • valueOf

        public static LocalBackendCfgDefn.WritabilityMode 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