Class ArchitectureModel

java.lang.Object
ch.admin.bit.jeap.archrepo.metamodel.ArchitectureModel

public class ArchitectureModel extends Object
  • Method Details

    • getSystems

      public List<System> getSystems()
    • findSystem

      public Optional<System> findSystem(String systemName)
    • getAllRelationsByType

      public <T extends Relation> List<T> getAllRelationsByType(Class<T> relationClass)
    • getAllRestApis

      public List<RestApi> getAllRestApis()
    • cleanup

      public void cleanup()
      Housekeeping of the architecture model, currently only for REST API elements. Removes
      1. automatically imported RestApiRelation which have no "last seen date" set or which are older than 3 Months
      2. Unused RestOperations
      3. Unused RestResource
    • getAllActiveRelationsByType

      public List<Relation> getAllActiveRelationsByType(RelationType relationType)
    • getAllRelations

      public List<Relation> getAllRelations()
    • getRestApiRelationsWithoutPact

      public List<RestApiRelation> getRestApiRelationsWithoutPact()
    • findSystemComponent

      public Optional<SystemComponent> findSystemComponent(String componentName)
    • removeAllByImporter

      public void removeAllByImporter(Importer importer)
    • getAllSystemComponentsByImporter

      public List<SystemComponent> getAllSystemComponentsByImporter(Importer importer)
    • getAllMessageTypes

      public List<MessageType> getAllMessageTypes()
    • getRestApiForSystemComponent

      public Optional<String> getRestApiForSystemComponent(SystemComponent systemComponent)
    • getSystemComponentsWithoutOpenApiSpec

      public List<String> getSystemComponentsWithoutOpenApiSpec()
    • remove

      public void remove(SystemComponent component)
    • findMessageType

      public Optional<MessageType> findMessageType(String messageTypeName)
    • getAllSystemComponentNamesWithSystemName

      public Map<String,String> getAllSystemComponentNamesWithSystemName()
    • builder

    • equals

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

      protected boolean canEqual(Object other)
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object