Enum Class SandboxException.ViolationType

java.lang.Object
java.lang.Enum<SandboxException.ViolationType>
cloud.opencode.base.expression.sandbox.SandboxException.ViolationType
All Implemented Interfaces:
Serializable, Comparable<SandboxException.ViolationType>, Constable
Enclosing class:
SandboxException

public static enum SandboxException.ViolationType extends Enum<SandboxException.ViolationType>
Violation Type Enum 违规类型枚举
Since:
JDK 25, opencode-base-expression V1.0.0
Author:
Leon Soo www.LeonSoo.com
  • Enum Constant Details

  • Method Details

    • values

      public static SandboxException.ViolationType[] 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 SandboxException.ViolationType 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