MarketplaceConfigEntry
@JsonInclude(JsonInclude.Include.NON_EMPTY) @JsonIgnoreProperties(ignoreUnknown = true) public class MarketplaceConfigEntry
源码Source
io/agentscope/builder/runtime/config/MarketplaceConfigEntry.java:33–60市场配置条目,承载智能体的部署、调度与服务化运行。位于 io.agentscope.builder.runtime.config 包。核心成员包括 getType、setType、getProperties、setProperty。
Marketplace configuration carrier — a type discriminator ("git" / "nacos") plus an open bag of type-specific properties. Unlike claw's variant, builder does
not persist this in agentscope.json; instead each user's marketplaces are
stored as JPA rows (see UserMarketplaceEntity) and rehydrated into this DTO at the
persistence boundary.
方法摘要Method Summary
| 方法Method | 说明Description |
|---|---|
public String getType() | 获取类型。 Returns the type. |
public void setType(String type) | 设置类型。 Sets the type. |
public Map<String, Object> getProperties() | 获取属性。 Returns the properties. |
public void setProperty(String key, Object value) | 设置属性。 Sets the property. |
方法详情Method Detail
getType
public String getType()
获取类型。
Returns the type.
String返回字符串结果。Returns a string.
源码Source
io/agentscope/builder/runtime/config/MarketplaceConfigEntry.java:42–44setType
public void setType(String type)
设置类型。
Sets the type.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
type | String | 类型(类型 `String`)。The type. |
源码Source
io/agentscope/builder/runtime/config/MarketplaceConfigEntry.java:46–48getProperties
public Map<String, Object> getProperties()
获取属性。
Returns the properties.
Map<String, Object>返回映射。Returns map.
源码Source
io/agentscope/builder/runtime/config/MarketplaceConfigEntry.java:50–53setProperty
public void setProperty(String key, Object value)
设置属性。
Sets the property.
参数Parameters
| 名称Name | 类型Type | 说明Description |
|---|---|---|
key | String | 键(类型 `String`)。The key. |
value | Object | 值(类型 `Object`)。The value. |
源码Source
io/agentscope/builder/runtime/config/MarketplaceConfigEntry.java:55–59