AS AgentScopeAPI 手册 / API Reference

LocalFileSystemConfig

public class LocalFileSystemConfig extends FileSystemConfig
源码Source io/agentscope/runtime/sandbox/manager/fs/local/LocalFileSystemConfig.java:26–67

本地文件系统配置,保存相关配置项。位于 io.agentscope.runtime.sandbox.manager.fs.local 包,继承自 FileSystemConfig。核心成员包括 builder、createStorageManager、LocalFileSystemConfig。

A class in io.agentscope.runtime.sandbox.manager.fs.local that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.manager.fs.local. Extends FileSystemConfig.

嵌套类摘要Nested Class Summary

类Class类型Kind说明Description
Builder类class
构建器,用于构建并配置目标实例。
A class in io.agentscope.runtime.sandbox.manager.fs.local that deploys, schedules and serves agents.

构造器摘要Constructor Summary

构造器Constructor说明Description
public LocalFileSystemConfig(Map<String, String> readonlyMounts, String storageFolderPath, String mountDir, Map<String, String> nonCopyMount)
初始化 `LocalFileSystemConfig` 实例。
Creates a new instance.

方法摘要Method Summary

方法Method说明Description
public static Builder builder()
static
返回构建器实例。
Returns the builder.
public StorageManager createStorageManager()
创建存储管理器。
Creates the storage manager.

构造器详情Constructor Detail

LocalFileSystemConfig

public LocalFileSystemConfig(Map<String, String> readonlyMounts, String storageFolderPath, String mountDir, Map<String, String> nonCopyMount)

初始化 LocalFileSystemConfig 实例。

Creates a new instance.

参数Parameters
名称Name类型Type说明Description
readonlyMountsMap<String, String>只读 Mounts(类型 `Map`)。The readonly mounts.
storageFolderPathString存储 Folder 路径(类型 `String`)。The storage folder path.
mountDirStringmount 目录(类型 `String`)。The mount dir.
nonCopyMountMap<String, String>non Copy Mount(类型 `Map`)。The non copy mount.
源码Source io/agentscope/runtime/sandbox/manager/fs/local/LocalFileSystemConfig.java:28–36

方法详情Method Detail

builder

public static Builder builder()
static

返回构建器实例。

Returns the builder.

返回Returns Builder
返回当前实例,以支持链式调用。Returns the current instance for chaining.
源码Source io/agentscope/runtime/sandbox/manager/fs/local/LocalFileSystemConfig.java:42–44

createStorageManager

public StorageManager createStorageManager()

创建存储管理器。

Creates the storage manager.

返回Returns StorageManager
返回StorageManager。Returns storage manager.
源码Source io/agentscope/runtime/sandbox/manager/fs/local/LocalFileSystemConfig.java:46–49

嵌套类详情Nested Class Detail

Builder

public static class Builder extends FileSystemConfig.Builder<Builder>

构建器,用于构建并配置目标实例。位于 io.agentscope.runtime.sandbox.manager.fs.local 包,继承自 FileSystemConfig.Builder<Builder>。核心成员包括 self、build、Builder。

A class in io.agentscope.runtime.sandbox.manager.fs.local that deploys, schedules and serves agents. Declared in io.agentscope.runtime.sandbox.manager.fs.local. Extends FileSystemConfig.Builder.

继承成员Inherited Members

基于官方固定版本源码静态生成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.