Class 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 Detail

      • JEXL_ENGINE

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

      • CheckMojo

        @Inject
        public CheckMojo​(ApiRequester apiRequester)
    • Method Detail

      • getPluginLog

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

        public void execute()
      • 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
      • 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
      • setInstance

        public static void setInstance​(CheckMojo instance)
      • getInstance

        public static CheckMojo getInstance()