Class SpaceAdmission.GroupAdmission
java.lang.Object
ai.badmonkey.agentspaces.space.replicated.SpaceAdmission.GroupAdmission
- All Implemented Interfaces:
SpaceAdmission
- Enclosing interface:
SpaceAdmission
GROUP: everyone.-
Nested Class Summary
Nested classes/interfaces inherited from interface SpaceAdmission
SpaceAdmission.AllowlistAdmission, SpaceAdmission.AuthorizerAdmission, SpaceAdmission.CredentialAdmission, SpaceAdmission.GroupAdmission, SpaceAdmission.Scope -
Method Summary
Modifier and TypeMethodDescriptionbooleanadmits(AgentId agent, SpaceAdmission.Scope scope, long nowMillis) Whether the agent may perform the scope now.rule()The rule this admission implements, carried in the space'sSpaceAdvertisementso members learn how the space admits before attaching.toString()Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface SpaceAdmission
strikesOnRefusal
-
Method Details
-
admits
Description copied from interface:SpaceAdmissionWhether the agent may perform the scope now.- Specified by:
admitsin interfaceSpaceAdmission- Parameters:
agent- the authenticated agentscope- the operation:WRITEfor a record,TAKEfor a claim or a completionnowMillis- the space clock, so leased evidence can be judged live- Returns:
- whether the agent is admitted
-
rule
Description copied from interface:SpaceAdmissionThe rule this admission implements, carried in the space'sSpaceAdvertisementso members learn how the space admits before attaching.- Specified by:
rulein interfaceSpaceAdmission- Returns:
- the advertised rule
-
toString
-