Class WrongCuts
java.lang.Object
edu.university.ecs.lab.detection.antipatterns.models.AbstractAntiPattern
edu.university.ecs.lab.detection.antipatterns.models.WrongCuts
- All Implemented Interfaces:
JsonSerializable
Represents a cluster of wrongly interconnected services (Wrong Cuts) detected in a microservice network graph.
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class edu.university.ecs.lab.detection.antipatterns.models.AbstractAntiPattern
toJsonObject
-
Field Details
-
NAME
Anti-pattern name- See Also:
-
DESCRIPTION
Anti-pattern description- See Also:
-
wrongCuts
Set of service names forming a cluster of wrongly interconnected services.
-
-
Constructor Details
-
WrongCuts
Constructs a WrongCuts object initialized with the provided set of wrongly interconnected service names.- Parameters:
wrongCuts
- Set of service names forming a cluster of wrongly interconnected services.
-
-
Method Details
-
getName
- Specified by:
getName
in classAbstractAntiPattern
-
getDescription
- Specified by:
getDescription
in classAbstractAntiPattern
-
getMetaData
protected com.google.gson.JsonObject getMetaData()- Specified by:
getMetaData
in classAbstractAntiPattern
-
numWrongCuts
public int numWrongCuts()
-