public class MD5StalenessCheck extends java.lang.Object implements StalenessCheck
StalenessCheck
that expects to find a .md5
file next to a
module archive and returns true if the computed hashes differ.WritableResourceModuleRegistry
Constructor and Description |
---|
MD5StalenessCheck() |
Modifier and Type | Method and Description |
---|---|
boolean |
isStale(SimpleModuleDefinition targetDefinition,
SimpleModuleDefinition sourceDefinition)
Return whether the target definition (which may be
null ) is stale compared to the source definition. |
public boolean isStale(SimpleModuleDefinition targetDefinition, SimpleModuleDefinition sourceDefinition)
StalenessCheck
null
) is stale compared to the source definition.isStale
in interface StalenessCheck