public interface NodeUpdateVisitorContext
NodeUpdateVisitor
instance in order to allow an NodeUpdateVisitor
to be able to manually update skipped/updated/failed node count while being executed on single node iteration
(e.g, in #doUpdate(node)
method in a groovy updater script).Modifier and Type | Method and Description |
---|---|
boolean |
isDryRun()
Returns true if the current execution is on dry run mode.
|
void |
reportFailed(String path)
Manually report/increment the failed count in the current execution.
|
void |
reportSkipped(String path)
Manually report/increment the skipped count in the current execution.
|
void |
reportUpdated(String path)
Manually report/increment the updated count in the current execution.
|
void reportSkipped(String path)
void reportUpdated(String path)
WARNING: this invocation may trigger committing or reverting the batch.
void reportFailed(String path)
boolean isDryRun()
Copyright © 2007–2017 Hippo B.V. (http://www.onehippo.com). All rights reserved.