java.lang.Object
edu.university.ecs.lab.detection.antipatterns.models.AbstractAntiPattern
edu.university.ecs.lab.detection.antipatterns.models.NoApiGateway
All Implemented Interfaces:
JsonSerializable

public class NoApiGateway extends AbstractAntiPattern
Represents the "No API-Gateway" anti-pattern
  • Field Details

    • NAME

      private static final String NAME
      Anti-pattern name
      See Also:
    • DESCRIPTION

      private static final String DESCRIPTION
      Anti-pattern descsription
      See Also:
    • noApiGateway

      private boolean noApiGateway
      Flag 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

      protected String getName()
      Specified by:
      getName in class AbstractAntiPattern
    • getDescription

      protected String getDescription()
      Specified by:
      getDescription in class AbstractAntiPattern
    • getMetaData

      protected com.google.gson.JsonObject getMetaData()
      Specified by:
      getMetaData in class AbstractAntiPattern
    • getBoolApiGateway

      public int getBoolApiGateway()