Package org.ldaptive
Class CompareOperation.Builder
- java.lang.Object
-
- org.ldaptive.AbstractOperation.AbstractBuilder<CompareOperation.Builder,CompareOperation>
-
- org.ldaptive.CompareOperation.Builder
-
- Enclosing class:
- CompareOperation
public static class CompareOperation.Builder extends AbstractOperation.AbstractBuilder<CompareOperation.Builder,CompareOperation>
Compare operation builder.
-
-
Field Summary
-
Fields inherited from class org.ldaptive.AbstractOperation.AbstractBuilder
object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
Builder()
Creates a new builder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompareOperation.Builder
onCompare(CompareValueHandler... handlers)
Sets the functions to execute when a compare result is complete.protected CompareOperation.Builder
self()
Returns this builder.-
Methods inherited from class org.ldaptive.AbstractOperation.AbstractBuilder
build, factory, onControl, onException, onIntermediate, onReferral, onRequest, onResult, onUnsolicitedNotification, throwIf
-
-
-
-
Method Detail
-
self
protected CompareOperation.Builder self()
Description copied from class:AbstractOperation.AbstractBuilder
Returns this builder.- Specified by:
self
in classAbstractOperation.AbstractBuilder<CompareOperation.Builder,CompareOperation>
- Returns:
- builder
-
onCompare
public CompareOperation.Builder onCompare(CompareValueHandler... handlers)
Sets the functions to execute when a compare result is complete.- Parameters:
handlers
- to execute on a compare result- Returns:
- this builder
-
-