AS AgentScopeAPI 手册 / API Reference

FileSystemConfig

public class FileSystemConfig
源码Source 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.

参数Parameters
名称Name类型Type说明Description
fileSystemTypeFileSystemType文件系统类型(类型 `FileSystemType`)。The file system type.
源码Source io/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:28–30

FileSystemConfig

protected FileSystemConfig(Builder<?> builder)

初始化 FileSystemConfig 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
builderBuilder<?>构建器(类型 `Builder`)。The builder.
源码Source io/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:32–38

方法详情Method Detail

getFileSystemType

public FileSystemType getFileSystemType()

获取文件系统类型。

Returns the file system type.

返回Returns FileSystemType
返回FileSystemType。Returns file system type.
源码Source io/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:40–42

getReadonlyMounts

public Map<String, String> getReadonlyMounts()

获取 getReadonlyMounts。

Returns the readonly mounts.

返回Returns Map<String, String>
返回映射。Returns map.
源码Source io/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:44–46

getStorageFolderPath

public String getStorageFolderPath()

获取 getStorageFolderPath。

Returns the storage folder path.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:48–50

getMountDir

public String getMountDir()

获取 getMountDir。

Returns the mount dir.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/runtime/sandbox/manager/model/fs/FileSystemConfig.java:52–54

getNonCopyMount

public Map<String, String> getNonCopyMount()

获取 getNonCopyMount。

Returns the non copy mount.

返回Returns Map<String, String>
返回映射。Returns map.
源码Source 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.

基于官方固定版本源码静态生成Generated from pinned official sources · Python 2.0.11 · Java 2.0.4
签名与文档为静态抽取;如有疑问请以源码为准。Signatures and docs are extracted statically; verify against the source when in doubt.