Enum Class IsolationMode

java.lang.Object
java.lang.Enum<IsolationMode>
org.j7m.middleware.api.isolation.IsolationMode
All Implemented Interfaces:
Serializable, Comparable<IsolationMode>, Constable

public enum IsolationMode extends Enum<IsolationMode>
Requested execution mode for an isolation request.

The mode is a caller-visible contract rather than an implementation class name. IN_PROCESS_POLICY evaluates and applies policy inside J7M-provided capabilities; LOCAL_PROCESS starts a child process. Neither value represents a container runtime or an operating-system sandbox stronger than the documented provider behavior.

  • Enum Constant Details

    • IN_PROCESS_POLICY

      public static final IsolationMode IN_PROCESS_POLICY
      Evaluate policy and run through in-process J7M-controlled capabilities.
    • LOCAL_PROCESS

      public static final IsolationMode LOCAL_PROCESS
      Launch a local child process with controlled environment and output capture.
  • Method Details

    • values

      public static IsolationMode[] 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 IsolationMode 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