Class WobblyServiceInteraction
java.lang.Object
edu.university.ecs.lab.detection.antipatterns.models.AbstractAntiPattern
edu.university.ecs.lab.detection.antipatterns.models.WobblyServiceInteraction
- All Implemented Interfaces:
JsonSerializable
Represents a wobbly service interaction.
-
Field Summary
-
Constructor Summary
ConstructorDescriptionWobblyServiceInteraction
(List<String> wobblyServiceInteractions) Constructs a WobblyServiceInteraction object initialized with the given list of interactions. -
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:
-
wobblyServiceInteractions
List of wobbly service interactions in the format: microserviceName.className.methodName
-
-
Constructor Details
-
WobblyServiceInteraction
Constructs a WobblyServiceInteraction object initialized with the given list of interactions.- Parameters:
wobblyServiceInteractions
- the list of wobbly service interactions
-
-
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
-
numWobbblyService
public int numWobbblyService()
-