public interface Stamp
Stamp properties are available depending on its associated file.
A stamp is empty when getHash and getModified return
an empty optional. This value is returned for files that have
not been tracked by the incremental compiler.
| Modifier and Type | Method and Description |
|---|---|
java.util.Optional<java.lang.String> |
getHash()
Get the hash of the file contents if the stamp supports it.
|
java.util.Optional<java.lang.Long> |
getLastModified()
Get the last modified time (in milliseconds from Epoch) of a file if the stamp supports it.
|
int |
getValueId()
Returns a unique identifier depending on the underlying data structures.
|
java.lang.String |
writeStamp() |
int getValueId()
java.lang.String writeStamp()
java.util.Optional<java.lang.String> getHash()
java.util.Optional<java.lang.Long> getLastModified()