Package bm.machine

Class FilesStateStore

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

public class FilesStateStore extends Object implements StateStore
Provides a state store with one file per target holding the target's state.

Pro: immediately written once a target is done, so even with a hard kill of the build process, targets already updated are recorded as such.

Cons: The target name is only minimally encoded to form a file name. Special characters in target names will fail on some file systems.