diff options
Diffstat (limited to 'v3po/data-api')
-rw-r--r-- | v3po/data-api/src/main/java/io/fd/honeycomb/v3po/data/ModifiableDataTree.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/v3po/data-api/src/main/java/io/fd/honeycomb/v3po/data/ModifiableDataTree.java b/v3po/data-api/src/main/java/io/fd/honeycomb/v3po/data/ModifiableDataTree.java index 8b21ddf24..a3b5c9c34 100644 --- a/v3po/data-api/src/main/java/io/fd/honeycomb/v3po/data/ModifiableDataTree.java +++ b/v3po/data-api/src/main/java/io/fd/honeycomb/v3po/data/ModifiableDataTree.java @@ -36,6 +36,14 @@ public interface ModifiableDataTree { void modify(final DataTreeModification modification) throws DataValidationFailedException, TranslationException; /** + * Initializes data tree using supplied modification. + * + * @param modification data tree modification + * @throws DataValidationFailedException if modification data is not valid + */ + void initialize(final DataTreeModification modification) throws DataValidationFailedException; + + /** * Creates read-only snapshot of a ModifiableDataTree. * * @return Data tree snapshot. |