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
apiErrors, 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()booleanisSkipCheck()Parameter 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 run-
Methods inherited from class de.gematik.BaseMojo
getApiErrors, getClientCertStore, getClientCertStorePw, getCombineItemsFile, getProxyHost, getProxyPort, getTruststore, getTruststorePw, isBreakOnContextError, isBreakOnFailedRequest, isSkip, setBreakOnContextError, setBreakOnFailedRequest, setClientCertStore, setClientCertStorePw, setCombineItemsFile, setProxyHost, setProxyPort, setSkip, setTruststore, setTruststorePw
-
-
-
-
Constructor Detail
-
CheckMojo
@Inject public CheckMojo(ApiRequester apiRequester)
-
-
Method Detail
-
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()
-
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()
-
-