Rule to validate a file to match the specified checksum.
Adapted from org.apache.maven.plugins.enforcer.RequireFileChecksum
.
Original authors: Edward Samson, Lyubomyr Shaydariv
Constructor and description |
---|
RequireFileChecksum
(ObjectFactory objects) |
Type Params | Return Type | Name and description |
---|---|---|
|
protected String |
calculateChecksum(InputStream inputStream) |
|
protected String |
calculateChecksum() |
|
protected void |
doExecute(EnforcerContext context) |
|
void |
execute(EnforcerContext context) |
Methods inherited from class | Name |
---|---|
class AbstractFilteringEnforcerRule |
doValidate, execute, setPhases |
class AbstractEnforcerRule |
doExecute, doValidate, execute, fail, fail, fail, illegalArgumentException, illegalArgumentException, resolveClassName, setEnforcerLevel, validate |
Groovy Documentation