public interface CdbCLIDiffIterate extends ConfIterate
Allows a way to iterate through a set of changes and have a user provided method applied on them.
 This interface is used as a callback to the
 CdbSubscription.CLIdiffIterate(int,CdbCLIDiffIterate) method class.
 
The extra clistr is also passed into
 the iterate method which contains the (C-style)
 rendering of the CLI commands equivalent to the current keypath/operation.
 
| Modifier and Type | Method and Description | 
|---|---|
DiffIterateResultFlag | 
iterate(ConfObject[] kp,
       DiffIterateOperFlag op,
       ConfObject oldValue,
       ConfObject newValue,
       ConfObject clistr,
       ConfCLIToken[] tokens,
       Object initstate)
This method used in  
CLIDiffIterate method in
 In addition to the standard iterate method a clistr
 is also passed into this method. | 
DiffIterateResultFlag iterate(ConfObject[] kp, DiffIterateOperFlag op, ConfObject oldValue, ConfObject newValue, ConfObject clistr, ConfCLIToken[] tokens, Object initstate)
CLIDiffIterate method in
 In addition to the standard iterate method a clistr
 is also passed into this method.
 This string contains the (C-style)
 rendering of the CLI commands equivalent to the current
 keypath/operation.kp - keypath identifies which node in the data tree that was
            affectedop - Operation code (MOP_CREATED,MOP_DELETED
            or MOP_VALUE_SET)oldValue - The old value,if availablenewValue - The new value,if availableclistr - cli command string containing commands
               that make up this state changeinitstate - An arbitrary object passed to
             CLIdiffIterate method