public interface Service extends BehavioredComponent<Service>
Type | Property and Description |
---|---|
ObservableMap<String,ServiceTask<?>> |
pendingTasks
Return The Pending tasks map.
|
Modifier and Type | Method and Description |
---|---|
ServiceTask<?> |
getPendingTask(String taskKey)
Retrieve a task from the pending list.
|
Collection<ServiceTask<?>> |
getPendingTaskList()
Get pending task list.
|
ObservableMap<String,ServiceTask<?>> |
pendingTasksProperty()
Return The Pending tasks map.
|
void |
removePendingTask(String taskKey)
Remove a task from the pending list.
|
<T> ServiceTask<T> |
returnData(Wave wave)
Do a specific action by processing the wave.
|
addBehavior, addBehavior, getBehavior, getBehaviorData, hasBehavior
findInnerComponent, listen, listen, listen, rootComponent, rootComponent, sendWave, sendWave, sendWave, unlisten
key, key, localFacade, localFacade, release, setup
attachUi, getModel, getModel, getModels, getModels
getService, getService, getServices, getServices, returnData
callCommand, callCommand, getCommand, getCommand, getCommands, getCommands
ObservableMap<String,ServiceTask<?>> pendingTasksProperty
ServiceTask
<T> ServiceTask<T> returnData(Wave wave)
T
- The type of the object to return must be compatible with the WaveType contract that call this servicewave
- the wave that hold all related dataObservableMap<String,ServiceTask<?>> pendingTasksProperty()
ServiceTask
Collection<ServiceTask<?>> getPendingTaskList()
void removePendingTask(String taskKey)
taskKey
- the key of the task, commonly the WaveUIDServiceTask<?> getPendingTask(String taskKey)
taskKey
- the key of the task, commonly the WaveUIDCopyright © 2011–2016 JRebirth OSS. All rights reserved.