-
- All Superinterfaces:
AgentFactory<A>
- All Known Implementing Classes:
AbstractAgentType
,AgentClass
,GuestAgentType
public interface AgentType<A extends Agent> extends AgentFactory<A>
Metadata for anAgent
of typeA
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentTypeContext
agentTypeContext()
The internal context used to provide concrete implementations to mostAgentType
methods.String
name()
TODOValue
props(Uri nodeUri)
ARecord
that maps every dynamic property innodeUri
to its value.UriPattern
route()
TheUriPattern
that everynodeUri
corresponding to an instance ofA
must match.void
setAgentTypeContext(AgentTypeContext context)
Updates the internal context used to provide concrete implementations to mostAgentType
methods.Class<? extends A>
type()
The Javaclass
ofA
.-
Methods inherited from interface swim.api.agent.AgentFactory
createAgent
-
-
-
-
Method Detail
-
agentTypeContext
AgentTypeContext agentTypeContext()
The internal context used to provide concrete implementations to mostAgentType
methods.
-
setAgentTypeContext
void setAgentTypeContext(AgentTypeContext context)
Updates the internal context used to provide concrete implementations to mostAgentType
methods.
-
name
String name()
TODO
-
route
UriPattern route()
TheUriPattern
that everynodeUri
corresponding to an instance ofA
must match.
-
-