R
- The return type of this visitor's methods. Use
Void
for visitors that do not need to return
results.P
- The type of the additional parameter to this visitor's methods.
Use Void
for visitors that do not need an
additional parameter.public interface ChangeRecordVisitor<R,P>
ChangeRecord
s, in the style of the visitor design
pattern.
Classes implementing this interface can query change records in a type-safe manner. When a visitor is passed to a change record's accept method, the corresponding visit method most applicable to that change record is invoked.
Modifier and Type | Method and Description |
---|---|
R |
visitChangeRecord(P p,
AddRequest change)
Visits an
Add change record. |
R |
visitChangeRecord(P p,
DeleteRequest change)
Visits an
Delete change record. |
R |
visitChangeRecord(P p,
ModifyDNRequest change)
Visits an
ModifyDN change record. |
R |
visitChangeRecord(P p,
ModifyRequest change)
Visits an
Modify change record. |
R visitChangeRecord(P p, AddRequest change)
Add
change record.p
- A visitor specified parameter.change
- The Add
change record.R visitChangeRecord(P p, DeleteRequest change)
Delete
change record.p
- A visitor specified parameter.change
- The Delete
change record.R visitChangeRecord(P p, ModifyDNRequest change)
ModifyDN
change record.p
- A visitor specified parameter.change
- The ModifyDN
change record.R visitChangeRecord(P p, ModifyRequest change)
Modify
change record.p
- A visitor specified parameter.change
- The Modify
change record.Copyright 2010-2017 ForgeRock AS.