-
- All Superinterfaces:
AgentFactory<A>
- All Known Implementing Classes:
AbstractAgentType
public interface AgentType<A extends Agent> extends AgentFactory<A>
Metadata for anAgentof typeA.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AgentTypeContextgetAgentTypeContext()The internal context used to provide concrete implementations to mostAgentTypemethods.Stringname()TODOswim.structure.Valueprops(swim.uri.Uri nodeUri)ARecordthat maps every dynamic property innodeUrito its value.swim.uri.UriPatternroute()TheUriPatternthat everynodeUricorresponding to an instance ofAmust match.voidsetAgentTypeContext(AgentTypeContext context)Updates the internal context used to provide concrete implementations to mostAgentTypemethods.Class<? extends A>type()The JavaclassofA.-
Methods inherited from interface swim.api.agent.AgentFactory
createAgent
-
-
-
-
Method Detail
-
getAgentTypeContext
AgentTypeContext getAgentTypeContext()
The internal context used to provide concrete implementations to mostAgentTypemethods.
-
setAgentTypeContext
void setAgentTypeContext(AgentTypeContext context)
Updates the internal context used to provide concrete implementations to mostAgentTypemethods.
-
name
String name()
TODO
-
route
swim.uri.UriPattern route()
TheUriPatternthat everynodeUricorresponding to an instance ofAmust match.
-
props
swim.structure.Value props(swim.uri.Uri nodeUri)
ARecordthat maps every dynamic property innodeUrito its value. An empty result indicates thatnodeUrieither contains no dynamic components or does not matchroute().
-
-