Class RequireFilesSize
java.lang.Object
org.apache.maven.enforcer.rule.api.AbstractEnforcerRule
org.apache.maven.enforcer.rules.AbstractStandardEnforcerRule
org.apache.maven.enforcer.rules.files.RequireFilesSize
- All Implemented Interfaces:
EnforcerRuleBase
Rule to validate the main artifact is within certain size constraints.
- Author:
- brianf, Roman Stumm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
getLog()
void
setLog
(EnforcerLogger arg0) void
setMaxsize
(long maxsize) void
setMinsize
(long minsize) toString()
Methods inherited from class org.apache.maven.enforcer.rules.AbstractStandardEnforcerRule
formatLocation, getMessage, setMessage
Methods inherited from class org.apache.maven.enforcer.rule.api.AbstractEnforcerRule
getLevel
-
Constructor Details
-
RequireFilesSize
-
-
Method Details
-
execute
- Throws:
EnforcerRuleException
-
getCacheId
-
setMaxsize
-
setMinsize
-
toString
-
setLog
- Specified by:
setLog
in interfaceEnforcerRuleBase
-
getLog
-