Package bm.machine
Interface StateStore
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
FilesStateStore,PropertiesStateStore
The API
Machine needs to keep target state hashes in persistent storage between
invocations,-
Method Summary
-
Method Details
-
saveHash
- Throws:
BuildProblemException
-
readHash
Gets a hash value for the given name.- Returns:
- never
null, if no hash is available, returns an empty array. - Throws:
BuildProblemException
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
BuildProblemException
-