Condition
@JsonIgnoreProperties(ignoreUnknown = true) @JsonInclude(JsonInclude.Include.NON_NULL) public static class Condition
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:76–122Condition,在隔离环境中安全执行代码和工具。位于 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.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:91–93setType
public void setType(String type)
设置类型。
Sets the type.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
type | String | 类型(类型 `String`)。The type. |
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:95–97getStatus
public String getStatus()
获取状态。
Returns the status.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:99–101setStatus
public void setStatus(String status)
设置状态。
Sets the status.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
status | String | 状态(类型 `String`)。The status. |
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:103–105getReason
public String getReason()
获取推理。
Returns the reason.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:107–109setReason
public void setReason(String reason)
设置推理。
Sets the reason.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
reason | String | 原因(类型 `String`)。The reason. |
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:111–113getMessage
public String getMessage()
获取消息。
Returns the message.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:115–117setMessage
public void setMessage(String message)
设置消息。
Sets the message.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
message | String | 消息(类型 `String`)。The message. |
源码Source
io/agentscope/extensions/sandbox/kubernetes/client/crd/SandboxClaimStatus.java:119–121