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
Abstract implementation of an Antipattern should be the parent
of all system Antipatterns
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AbstractAntiPattern
public AbstractAntiPattern()
-
-
Method Details
-
getName
-
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 interfaceJsonSerializable
- Returns:
- a JsonObject representing this
-