AS AgentScopeAPI 手册 / API Reference

Condition

@JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_NULL) public static class Condition
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:76–122

Condition,在隔离环境中安全执行代码和工具。位于 io.agentscope.extensions.sandbox.kubernetes.client.crd 包。核心成员包括 getType、setType、getStatus、setStatus、getReason、setReason。

A class in io.agentscope.extensions.sandbox.kubernetes.client.crd that executes code and tools inside isolated environments. Declared in io.agentscope.extensions.sandbox.kubernetes.client.crd.

方法摘要Method Summary

方法Method说明Description
public String getType()
获取类型。
Returns the type.
public void setType(String type)
设置类型。
Sets the type.
public String getStatus()
获取状态。
Returns the status.
public void setStatus(String status)
设置状态。
Sets the status.
public String getReason()
获取推理。
Returns the reason.
public void setReason(String reason)
设置推理。
Sets the reason.
public String getMessage()
获取消息。
Returns the message.
public void setMessage(String message)
设置消息。
Sets the message.

方法详情Method Detail

getType

public String getType()

获取类型。

Returns the type.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:91–93

setType

public void setType(String type)

设置类型。

Sets the type.

参数Parameters
名称Name类型Type说明Description
typeString类型(类型 `String`)。The type.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:95–97

getStatus

public String getStatus()

获取状态。

Returns the status.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:99–101

setStatus

public void setStatus(String status)

设置状态。

Sets the status.

参数Parameters
名称Name类型Type说明Description
statusString状态(类型 `String`)。The status.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:103–105

getReason

public String getReason()

获取推理。

Returns the reason.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:107–109

setReason

public void setReason(String reason)

设置推理。

Sets the reason.

参数Parameters
名称Name类型Type说明Description
reasonString原因(类型 `String`)。The reason.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:111–113

getMessage

public String getMessage()

获取消息。

Returns the message.

返回Returns String
返回字符串结果。Returns a string.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:115–117

setMessage

public void setMessage(String message)

设置消息。

Sets the message.

参数Parameters
名称Name类型Type说明Description
messageString消息(类型 `String`)。The message.
源码Source io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:119–121
基于官方固定版本源码静态生成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.