Package de.gematik.check
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 BaseMojoPlugin checks api with jexl expression
-
-
Field Summary
Fields Modifier and Type Field Description static org.apache.commons.jexl3.JexlEngineJEXL_ENGINE-
Fields inherited from class de.gematik.BaseMojo
GENERATED_COMBINE_ITEMS_DIR
-
-
Constructor Summary
Constructors Constructor Description CheckMojo(ApiRequester apiRequester)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidexecute()ApiRequestergetApiRequester()List<CheckExpression>getCheckExpressions()List of Expression with id that could be referenced in combine_itemStringgetCheckPath()Path that will be used for checkingStringgetDefaultCheckExpressions()Jexl statement that will be applied on the result of the checkPath result if no other expression is mentionedList<String>getErrors()static CheckMojogetInstance()static org.apache.maven.plugin.logging.LoggetPluginLog()voidsetCheckExpressions(List<CheckExpression> checkExpressions)List of Expression with id that could be referenced in combine_itemvoidsetCheckPath(String checkPath)Path that will be used for checkingvoidsetDefaultCheckExpressions(String defaultCheckExpressions)Jexl statement that will be applied on the result of the checkPath result if no other expression is mentionedstatic voidsetInstance(CheckMojo instance)-
Methods inherited from class de.gematik.BaseMojo
getClientCertStore, getClientCertStorePw, getCombineItemsFile, getTruststore, getTruststorePw, setClientCertStore, setClientCertStorePw, setCombineItemsFile, setTruststore, setTruststorePw
-
-
-
-
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
-
getApiRequester
public ApiRequester getApiRequester()
-
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()
-
-