Module swim.api

Interface AgentType<A extends Agent>

    • Method Detail

      • agentTypeContext

        AgentTypeContext agentTypeContext()
        The internal context used to provide concrete implementations to most AgentType methods.
      • setAgentTypeContext

        void setAgentTypeContext​(AgentTypeContext context)
        Updates the internal context used to provide concrete implementations to most AgentType methods.
      • route

        UriPattern route()
        The UriPattern that every nodeUri corresponding to an instance of A must match.
      • type

        Class<? extends A> type()
        The Java class of A.
      • props

        Value props​(Uri nodeUri)
        A Record that maps every dynamic property in nodeUri to its value. An empty result indicates that nodeUri either contains no dynamic components or does not match route().