Enum Class LocalFsMode
- All Implemented Interfaces:
Serializable,Comparable<LocalFsMode>,Constable
Path-resolution policy mode for host-rooted filesystems
(
LocalFilesystem and friends).
Controls what happens when the agent supplies an absolute path:
SANDBOXED— anchor every path to the filesystem root, reject..and absolute paths leaving the root. Equivalent to the legacyvirtualMode=true.ROOTED— absolute paths are accepted only when they fall under one of the roots in the configuredPathPolicy(project + workspace + additional roots). Relative paths still resolve against the filesystem root. This is the default for Local-mode agents and matches the Claude-Code-style "project + additional dirs" allow-list.UNRESTRICTED— absolute paths pass through unchanged. Equivalent to the legacyvirtualMode=false. Escape hatch for tools or tests that need to read arbitrary host paths.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic LocalFsModeReturns the enum constant of this class with the specified name.static LocalFsMode[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SANDBOXED
-
ROOTED
-
UNRESTRICTED
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-