Package ghidra.framework.model
Class AbstractDomainObjectListenerBuilder.AnyBuilder
java.lang.Object
ghidra.framework.model.AbstractDomainObjectListenerBuilder.AnyBuilder
- Enclosing class:
AbstractDomainObjectListenerBuilder<R extends DomainObjectChangeRecord,
B extends AbstractDomainObjectListenerBuilder<R, B>>
Sub-builder for collection eventTypes before eventually being association with a
callback or callback with termination
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncall
(Consumer<DomainObjectChangedEvent> consumer) Provides the callback to be associated with this collection of event types.Provides the callback to be associated with this collection of event types.terminate
(Consumer<DomainObjectChangedEvent> consumer) Provides the consumer with termination to be associated with this collection of event types.Provides the callback with termination to be associated with this collection of event types.
-
Constructor Details
-
AnyBuilder
-
-
Method Details
-
call
Provides the callback to be associated with this collection of event types.- Parameters:
callback
- the callback for this collection of event types- Returns:
- the main event builder that created this sub-builder
-
call
Provides the callback to be associated with this collection of event types.- Parameters:
consumer
- the callback for this collection of event types- Returns:
- the main event builder that created this sub-builder
-
terminate
Provides the callback with termination to be associated with this collection of event types.- Parameters:
callback
- the callback for this collection of event types- Returns:
- the main event builder that created this sub-builder
-
terminate
Provides the consumer with termination to be associated with this collection of event types. This form of terminate includes the event when performing the callback.- Parameters:
consumer
- the consumer for this collection of event types- Returns:
- the main event builder that created this sub-builder
-