Class NoApiGateway
java.lang.Object
edu.university.ecs.lab.detection.antipatterns.models.AbstractAntiPattern
edu.university.ecs.lab.detection.antipatterns.models.NoApiGateway
- All Implemented Interfaces:
JsonSerializable
Represents the "No API-Gateway" anti-pattern
-
Field Summary
-
Constructor Summary
ConstructorDescriptionNoApiGateway
(boolean noApiGateway) Constructs a NoApiGateway object with the specified flag indicating the presence of the anti-pattern. -
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 descsription- See Also:
-
noApiGateway
private boolean noApiGatewayFlag indicating whether the anti-pattern is present
-
-
Constructor Details
-
NoApiGateway
public NoApiGateway(boolean noApiGateway) Constructs a NoApiGateway object with the specified flag indicating the presence of the anti-pattern.- Parameters:
noApiGateway
- boolean flag indicating whether the "No API-Gateway" anti-pattern is present
-
-
Method Details
-
getnoApiGateway
public boolean getnoApiGateway()Retrieves the flag indicating the presence of the "No API-Gateway" anti-pattern.- Returns:
- boolean flag indicating whether the "No API-Gateway" anti-pattern is present
-
getName
- Specified by:
getName
in classAbstractAntiPattern
-
getDescription
- Specified by:
getDescription
in classAbstractAntiPattern
-
getMetaData
protected com.google.gson.JsonObject getMetaData()- Specified by:
getMetaData
in classAbstractAntiPattern
-
getBoolApiGateway
public int getBoolApiGateway()
-