Class AgentSpacesProperties.SpaceDef
java.lang.Object
ai.badmonkey.agentspaces.spring.AgentSpacesProperties.SpaceDef
- Enclosing class:
AgentSpacesProperties
One replicated space within a group.
admission is group
(every member may write, the default), allowlist, under which
only the allowed-agents (encoded AgentIds) may write, take, or
complete, credential, under which a live SpaceCredential
entry signed by the credential-issuer admits an agent, or
authorizer, under which the profile's Authorizer decides
SPACE_WRITE/SPACE_TAKE in the scope of the space name;
everyone may still read (spec §7.5, TODO-EFG §3–§4).-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionUnderadmission: credential, the PeerID whose signedSpaceCredentialentries admit agents to this space (SPEC §7.5); blank means this node, the founder's configuration, and only that node maygrantandrevoke.getName()longvoidsetAdmission(String admission) voidsetAllowedAgents(List<String> allowedAgents) voidsetCredentialIssuer(String credentialIssuer) voidvoidsetSettleWindowMillis(long settleWindowMillis) voidsetStrategy(String strategy)
-
Constructor Details
-
SpaceDef
public SpaceDef()
-
-
Method Details
-
getAdmission
-
setAdmission
-
getCredentialIssuer
Underadmission: credential, the PeerID whose signedSpaceCredentialentries admit agents to this space (SPEC §7.5); blank means this node, the founder's configuration, and only that node maygrantandrevoke. -
setCredentialIssuer
-
getAllowedAgents
-
setAllowedAgents
-
getName
-
setName
-
getStrategy
-
setStrategy
-
getSettleWindowMillis
public long getSettleWindowMillis() -
setSettleWindowMillis
public void setSettleWindowMillis(long settleWindowMillis)
-