License |
License |
---|---|
Categories |
CategoriesGroovy Languages |
GroupId | GroupIdcom.faceture |
ArtifactId | ArtifactIdgroovy-params-checker |
Last Version | Last Version1.0.28 |
Release Date | Release Date |
Type | Typejar |
Description |
DescriptionGroovyParamsChecker
Automatic Groovy parameter checker. How to use: 1. Annotate your Groovy classes with
@ParamsNotNullNotEmpty; 2. At compile time, code will be added into each of your methods to check each
parameter to make sure it is not null and in the case of Collections, Maps and Strings, it is not empty; 3. At
run time, if a parameter is null or empty, it will throw an IllegalArgumentException with details about the
null or empty parameter. To disable the annotation at compile time, set the ParamsNotNullNotEmpty.NoOpMode flag
to true.
|
Project URL |
Project URL |
<!-- https://jarcasting.com/artifacts/com.faceture/groovy-params-checker/ -->
<dependency>
<groupId>com.faceture</groupId>
<artifactId>groovy-params-checker</artifactId>
<version>1.0.28</version>
</dependency>
// https://jarcasting.com/artifacts/com.faceture/groovy-params-checker/
implementation 'com.faceture:groovy-params-checker:1.0.28'
// https://jarcasting.com/artifacts/com.faceture/groovy-params-checker/
implementation ("com.faceture:groovy-params-checker:1.0.28")
'com.faceture:groovy-params-checker:jar:1.0.28'
<dependency org="com.faceture" name="groovy-params-checker" rev="1.0.28">
<artifact name="groovy-params-checker" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.faceture', module='groovy-params-checker', version='1.0.28')
)
libraryDependencies += "com.faceture" % "groovy-params-checker" % "1.0.28"
[com.faceture/groovy-params-checker "1.0.28"]
Group / Artifact | Type | Version |
---|---|---|
org.codehaus.groovy : groovy-all | jar | 2.0.8 |
Group / Artifact | Type | Version |
---|---|---|
junit : junit | jar | 4.8.2 |