FileSystemConfig
public class FileSystemConfig
io/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:21–106文件系统配置,保存相关配置项。位于 io.agentscope.runtime.sandbox.manager.model.fs 包。核心成员包括 getFileSystemType、getReadonlyMounts、getStorageFolderPath、getMountDir、getNonCopyMount、FileSystemConfig。
A class in io.agentscope.runtime.sandbox.manager.model.fs that talks to model services and returns generated or embedded output. Declared in io.agentscope.runtime.sandbox.manager.model.fs.
嵌套类摘要Nested Class Summary
| 类Class | 类型Kind | 说明Description |
|---|---|---|
Builder | 类class | 构建器,用于构建并配置目标实例。 A class in io.agentscope.runtime.sandbox.manager.model.fs that talks to model services and returns generated or embedded output. |
构造器摘要Constructor Summary
| 构造器Constructor | 说明Description |
|---|---|
protected FileSystemConfig(FileSystemType fileSystemType) | 初始化 `FileSystemConfig` 实例。 Creates a new instance. |
protected FileSystemConfig(Builder<?> builder) | 初始化 `FileSystemConfig` 实例。 Creates a new instance. |
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public FileSystemType getFileSystemType() | 获取文件系统类型。 Returns the file system type. |
public Map<String, String> getReadonlyMounts() | 获取 `getReadonlyMounts`。 Returns the readonly mounts. |
public String getStorageFolderPath() | 获取 `getStorageFolderPath`。 Returns the storage folder path. |
public String getMountDir() | 获取 `getMountDir`。 Returns the mount dir. |
public Map<String, String> getNonCopyMount() | 获取 `getNonCopyMount`。 Returns the non copy mount. |
构造器详情Constructor Detail
FileSystemConfig
protected FileSystemConfig(FileSystemType fileSystemType)
初始化 FileSystemConfig 实例。
Creates a new instance.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
fileSystemType | FileSystemType | 文件系统类型(类型 `FileSystemType`)。The file system type. |
io/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:28–30FileSystemConfig
protected FileSystemConfig(Builder<?> builder)
初始化 FileSystemConfig 实例。
Creates a new instance.
| 名称Name | 类型Type | 说明Description |
|---|---|---|
builder | Builder<?> | 构建器(类型 `Builder`)。The builder. |
io/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:32–38方法详情Method Detail
getFileSystemType
public FileSystemType getFileSystemType()
获取文件系统类型。
Returns the file system type.
FileSystemTypeio/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:40–42getReadonlyMounts
public Map<String, String> getReadonlyMounts()
获取 getReadonlyMounts。
Returns the readonly mounts.
Map<String, String>io/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:44–46getStorageFolderPath
public String getStorageFolderPath()
获取 getStorageFolderPath。
Returns the storage folder path.
Stringio/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:48–50getMountDir
public String getMountDir()
获取 getMountDir。
Returns the mount dir.
Stringio/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:52–54getNonCopyMount
public Map<String, String> getNonCopyMount()
获取 getNonCopyMount。
Returns the non copy mount.
Map<String, String>io/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:56–58嵌套类详情Nested Class Detail
Builder
public static abstract class Builder<T extends Builder<T>>构建器,用于构建并配置目标实例。位于 io.agentscope.runtime.sandbox.manager.model.fs 包。核心成员包括 self、readonlyMounts、addReadonlyMount、addNonCopyMount、storageFolderPath、mountDir。
A class in io.agentscope.runtime.sandbox.manager.model.fs that talks to model services and returns generated or embedded output. Declared in io.agentscope.runtime.sandbox.manager.model.fs.