T - as TokenPE - as produced event from the TokenEventSupplierpublic abstract class SynchronousTokenChangeEventSupplierBackedListener<T extends Token<T>,PE extends ChildTokenEvent<T>> extends SynchronousTokenChangeListener<T,TokenEvent<T>>
SynchronousTokenChangeListener backed by a ClassReloadingStrategy.Strategy or code that generates further events based on the original one.TokenEventSupplier.onTokenChange(SupplierTokenEvent),
SupplierTokenEvent,
Serialized Form| Constructor and Description |
|---|
SynchronousTokenChangeEventSupplierBackedListener() |
| Modifier and Type | Method and Description |
|---|---|
TokenEventSupplier<T> |
getTokenEventSupplier() |
protected abstract void |
onEventSupplierGenEvents(Supplier<List<PE>> eventsSupplier,
TokenEvent<T> change) |
protected void |
onSynchChange(ChangeGenerator<TokenEvent<T>> changeGenerator,
TokenEvent<T> change)
To Override
|
void |
setTokenEventSupplier(TokenEventSupplier<T> tokenEventSupplier) |
onChangepublic SynchronousTokenChangeEventSupplierBackedListener()
protected void onSynchChange(ChangeGenerator<TokenEvent<T>> changeGenerator, TokenEvent<T> change)
SynchronousTokenChangeListeneronSynchChange in class SynchronousTokenChangeListener<T extends Token<T>,TokenEvent<T extends Token<T>>>changeGenerator - of TokenEventchange - as SynchronousChange, expected sub type SupplierTokenEventprotected abstract void onEventSupplierGenEvents(Supplier<List<PE>> eventsSupplier, TokenEvent<T> change)
public TokenEventSupplier<T> getTokenEventSupplier()
public void setTokenEventSupplier(TokenEventSupplier<T> tokenEventSupplier)
Copyright © 2018. All rights reserved.