Class ComponentContext

java.lang.Object
ch.admin.bit.jeap.archrepo.docgen.ComponentContext

public final class ComponentContext extends Object
The context of a system component, contains the component itself and relations to its direct neighbors
  • Method Details

    • of

      public static ComponentContext of(ch.admin.bit.jeap.archrepo.metamodel.ArchitectureModel model, ch.admin.bit.jeap.archrepo.metamodel.system.SystemComponent systemComponent)
    • getComponentsInContext

      public Set<String> getComponentsInContext()
    • getProducedEventsGroupedByEvent

      public Map<RelationView,List<RelationView>> getProducedEventsGroupedByEvent()
    • getSentCommandsGroupedByCommand

      public Map<RelationView,List<RelationView>> getSentCommandsGroupedByCommand()
    • getConsumedEventsGroupedByEvent

      public Map<RelationView,List<RelationView>> getConsumedEventsGroupedByEvent()
    • getReceivedCommandsGroupedByCommand

      public Map<RelationView,List<RelationView>> getReceivedCommandsGroupedByCommand()
    • getProvidedRestApiRelationsGroupedByPath

      public List<RestApiGroupedResult> getProvidedRestApiRelationsGroupedByPath()
    • getSystemComponent

      public ch.admin.bit.jeap.archrepo.metamodel.system.SystemComponent getSystemComponent()
    • getOpenApiSpecUrl

      public String getOpenApiSpecUrl()
    • getConsumedRestApiRelations

      public List<RelationView> getConsumedRestApiRelations()
    • getProducedEventRelations

      public List<RelationView> getProducedEventRelations()
    • getSentCommandRelations

      public List<RelationView> getSentCommandRelations()
    • getProvidedRestApiRelations

      public List<RelationView> getProvidedRestApiRelations()
    • getProvidedRestApiRelationViews

      public List<ProvidedRestAPIRelationView> getProvidedRestApiRelationViews()
    • getConsumedEventRelations

      public List<RelationView> getConsumedEventRelations()
    • getReceivedCommandRelations

      public List<RelationView> getReceivedCommandRelations()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object