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, hasBehavioraddInnerComponent, getInnerComponent, getRootComponent, listen, listen, listen, sendWave, sendWave, sendWave, setRootComponent, unlistengetKey, getLocalFacade, release, setKey, setLocalFacade, setupattachUi, getModel, getModelgetService, getService, returnDatacallCommand, callCommand, getCommand, getCommandObservableMap<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()
ServiceTaskCollection<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–2015 JRebirth OSS. All rights reserved.