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
Plugin checks api with jexl expression
-
Field Summary
FieldsFields inherited from class de.gematik.BaseMojo
apiErrors, GENERATED_COMBINE_ITEMS_DIRFields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute()List of Expression with id that could be referenced in combine_itemPath that will be used for checkingJexl statement that will be applied on the result of the checkPath result if no other expression is mentionedstatic CheckMojostatic org.apache.maven.plugin.logging.LogbooleanParameter to decide if check-execution should be runvoidsetCheckExpressions(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) voidsetSkipCheck(boolean skipCheck) Parameter to decide if check-execution should be runMethods inherited from class de.gematik.BaseMojo
getAcceptedResponseFamilies, getAllowedResponseCodes, getApiErrors, getClientCertStore, getClientCertStorePw, getCombineItemsFile, getProxyHost, getProxyPort, getTruststore, getTruststorePw, isBreakOnContextError, isBreakOnFailedRequest, isSkip, setAcceptedResponseFamilies, setAllowedResponseCodes, setBreakOnContextError, setBreakOnFailedRequest, setClientCertStore, setClientCertStorePw, setCombineItemsFile, setProxyHost, setProxyPort, setSkip, setTruststore, setTruststorePwMethods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
JEXL_ENGINE
public static final org.apache.commons.jexl3.JexlEngine JEXL_ENGINE
-
-
Constructor Details
-
CheckMojo
-
-
Method Details
-
execute
public void execute() -
getPluginLog
public static org.apache.maven.plugin.logging.Log getPluginLog() -
setCheckPath
Path that will be used for checking -
setCheckExpressions
List of Expression with id that could be referenced in combine_item -
setDefaultCheckExpressions
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
-
getErrors
-
getCheckPath
Path that will be used for checking -
getCheckExpressions
List of Expression with id that could be referenced in combine_item -
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
-
getInstance
-