Package com.android.builder.merge
Class IncrementalFileMergerState
java.lang.Object
com.android.builder.merge.IncrementalFileMergerState
- All Implemented Interfaces:
Serializable
State of an incremental file merge. State is used to record the state of a merge so that an
incremental merge can be performed afterwards. An initial state (for a full merge) can be
build using
IncrementalFileMergerState().
States are serializable so they can be persisted across invocations of merge operations. They
are also immutable. The incremental merger will build new instances using IncrementalFileMergerState.Builder.
Users of the incremental merger will generally not need to use anything from the state,
except providing it to invocations of
IncrementalFileMerger#merge(List, IncrementalFileMergerOutput, IncrementalFileMergerState). Therefore, this class is mostly opaque.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
IncrementalFileMergerState
public IncrementalFileMergerState()Creates a new, empty, state. This is useful to create a full build as a full build is an incremental build from zero.
-