Enum Class AgentPolicyProfile.FileAccess

java.lang.Object
java.lang.Enum<AgentPolicyProfile.FileAccess>
org.snmp4j.agent.audit.AgentPolicyProfile.FileAccess
All Implemented Interfaces:
Serializable, Comparable<AgentPolicyProfile.FileAccess>, java.lang.constant.Constable
Enclosing class:
AgentPolicyProfile

public static enum AgentPolicyProfile.FileAccess extends Enum<AgentPolicyProfile.FileAccess>
The FileAccess enumeration defines the levels of file access permissions that can be assigned to an entity. It specifies the scope of file system interactions allowed, ranging from no access to full access.
  • NO_ACCESS: Indicates that no file access is permitted.
  • WORKING_DIRECTORY_READONLY: Grants read-only access to files.
  • WORKING_DIRECTORY_READWRITE: Restricts read and write access to the working directory exclusively.
  • LIMITED_DIRECTORY_ACCESS: Allows read-write access to a specified set of directories.
  • ALL_DIRECTORY_ACCESS: Grants unrestricted access to all directories.
This enumeration is intended to control and enforce file access policies within a system to ensure data integrity and security.
Since:
3.12.0
Author:
Frank Fock
  • Enum Constant Details

  • Method Details

    • values

      public static AgentPolicyProfile.FileAccess[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static AgentPolicyProfile.FileAccess valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null