Package bm.machine

Class PropertiesStateStore

java.lang.Object
bm.machine.PropertiesStateStore
All Implemented Interfaces:
StateStore, AutoCloseable

public class PropertiesStateStore extends Object implements StateStore
Provides a state store kept in a single properties file.

Pro: no encoding issues with target names.

Cons: If the build process is killed with no way to execute finally blocks, the state reached so far is not saved and will be repeated on the next run, because the state properties file for all targets is written only at the end of the build process.