T
- Options typepublic abstract class AbstractUpdateCallable<T extends Options> extends AbstractOperationCallable<T>
Constructor and Description |
---|
AbstractUpdateCallable(Runner<T> runner,
T options)
Creates a new callable
|
Modifier and Type | Method and Description |
---|---|
UpdateRun |
call() |
protected abstract UpdateProcessor |
createUpdateProcessor(UpdateRequest update)
Creates an update processor for running the update
|
protected void |
customizeRequest(UpdateProcessor processor)
Provides derived implementations the option to customize the update
processor before actually executing the update e.g.
|
protected abstract UpdateRequest |
getUpdate()
Gets the update request to be executed
|
cancel, getOptions, getRunner, isCancelled
protected abstract UpdateRequest getUpdate()
protected void customizeRequest(UpdateProcessor processor)
The default implementation does nothing.
processor
- Update processorprotected abstract UpdateProcessor createUpdateProcessor(UpdateRequest update)
update
- UpdateCopyright © 2015. All rights reserved.