Class CheckMojo

java.lang.Object
org.apache.maven.plugin.AbstractMojo
de.gematik.BaseMojo
de.gematik.check.CheckMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

@Mojo(name="check", defaultPhase=GENERATE_TEST_SOURCES) public class CheckMojo extends BaseMojo
Plugin checks api with jexl expression
  • Field Details

    • JEXL_ENGINE

      public static final org.apache.commons.jexl3.JexlEngine JEXL_ENGINE
  • Constructor Details

    • CheckMojo

      @Inject public CheckMojo(ApiRequester apiRequester)
  • Method Details

    • execute

      public void execute()
    • getPluginLog

      public static org.apache.maven.plugin.logging.Log getPluginLog()
    • setCheckPath

      public void setCheckPath(String checkPath)
      Path that will be used for checking
    • setCheckExpressions

      public void setCheckExpressions(List<CheckExpression> checkExpressions)
      List of Expression with id that could be referenced in combine_item
    • setDefaultCheckExpressions

      public void setDefaultCheckExpressions(String defaultCheckExpressions)
      Jexl statement that will be applied on the result of the checkPath result if no other expression is mentioned
    • setSkipCheck

      public void setSkipCheck(boolean skipCheck)
      Parameter to decide if check-execution should be run
    • getApiRequester

      public ApiRequester getApiRequester()
    • getErrors

      public List<String> getErrors()
    • getCheckPath

      public String getCheckPath()
      Path that will be used for checking
    • getCheckExpressions

      public List<CheckExpression> getCheckExpressions()
      List of Expression with id that could be referenced in combine_item
    • getDefaultCheckExpressions

      public String getDefaultCheckExpressions()
      Jexl statement that will be applied on the result of the checkPath result if no other expression is mentioned
    • isSkipCheck

      public boolean isSkipCheck()
      Parameter to decide if check-execution should be run
    • setInstance

      public static void setInstance(CheckMojo instance)
    • getInstance

      public static CheckMojo getInstance()