Class Directive<S>

    • Method Detail

      • model

        public final Model model()
        Returns:
        Gets the model being code generated.
      • settings

        public final S settings()
        Returns:
        Gets code generation settings.
      • service

        public final ServiceShape service()
        Returns:
        Gets the service being generated.
      • connectedShapes

        public final java.util.Map<ShapeId,​Shape> connectedShapes()
        Returns:
        Returns a map of shapes connected to the service.
      • operations

        public java.util.Set<OperationShape> operations()
        Gets a set of all operation shapes in the service, sorted by name.

        This includes operations contained in resources in the closure of the service.

        Returns:
        Returns all sorted service operations.