Class EndpointModifierIndex

  • All Implemented Interfaces:
    KnowledgeIndex

    public final class EndpointModifierIndex
    extends java.lang.Object
    implements KnowledgeIndex
    Locates the endpoint modifier traits applied to services. Endpoint modifier traits are traits that are marked by EndpointModifierTrait
    • Constructor Detail

      • EndpointModifierIndex

        public EndpointModifierIndex​(Model model)
    • Method Detail

      • getEndpointModifierTraits

        public java.util.Map<ShapeId,​Trait> getEndpointModifierTraits​(ToShapeId toShapeId)
        Gets all endpoint modifier traits applied to a service.
        Parameters:
        toShapeId - Service shape to query
        Returns:
        Map of endpoint modifier trait ID to the trait