Class AgentSpacesProperties.SpaceDef

java.lang.Object
ai.badmonkey.agentspaces.spring.AgentSpacesProperties.SpaceDef
Enclosing class:
AgentSpacesProperties

public static class AgentSpacesProperties.SpaceDef extends Object
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 Details

    • SpaceDef

      public SpaceDef()
  • Method Details

    • getAdmission

      public String getAdmission()
    • setAdmission

      public void setAdmission(String admission)
    • getCredentialIssuer

      public String getCredentialIssuer()
      Under admission: credential, the PeerID whose signed SpaceCredential entries admit agents to this space (SPEC §7.5); blank means this node, the founder's configuration, and only that node may grant and revoke.
    • setCredentialIssuer

      public void setCredentialIssuer(String credentialIssuer)
    • getAllowedAgents

      public List<String> getAllowedAgents()
    • setAllowedAgents

      public void setAllowedAgents(List<String> allowedAgents)
    • getName

      public String getName()
    • setName

      public void setName(String name)
    • getStrategy

      public String getStrategy()
    • setStrategy

      public void setStrategy(String strategy)
    • getSettleWindowMillis

      public long getSettleWindowMillis()
    • setSettleWindowMillis

      public void setSettleWindowMillis(long settleWindowMillis)