Class AbstractAntiPattern

java.lang.Object
edu.university.ecs.lab.detection.antipatterns.models.AbstractAntiPattern
All Implemented Interfaces:
JsonSerializable
Direct Known Subclasses:
CyclicDependency, GreedyMicroservice, HubLikeMicroservice, NoApiGateway, NoHealthcheck, ServiceChain, WobblyServiceInteraction, WrongCuts

public abstract class AbstractAntiPattern extends Object implements JsonSerializable
Abstract implementation of an Antipattern should be the parent of all system Antipatterns
  • Constructor Details

    • AbstractAntiPattern

      public AbstractAntiPattern()
  • Method Details

    • getName

      protected abstract String getName()
    • getDescription

      protected abstract String getDescription()
    • getMetaData

      protected abstract com.google.gson.JsonObject getMetaData()
    • toJsonObject

      public final com.google.gson.JsonObject toJsonObject()
      Description copied from interface: JsonSerializable
      This method is a generalizable definition for converting an object of any type to a JsonObject
      Specified by:
      toJsonObject in interface JsonSerializable
      Returns:
      a JsonObject representing this