public abstract class GetAction<T> extends Action
| Constructor and Description |
|---|
GetAction() |
| Modifier and Type | Method and Description |
|---|---|
T |
dispatch(Environment env,
Object... parameters)
Dispatches action through the system UI queue to get the result.
|
T |
getResult() |
boolean |
isFinished() |
protected void |
setResult(T result) |
execute, failed, getAllowedTime, getEndTime, getStartTime, getThrowable, interrupt, isInterrupted, run, setAllowedTime, toString, withinAllowedTimepublic boolean isFinished()
public T getResult()
protected void setResult(T result)
public T dispatch(Environment env, Object... parameters)
env - Environment to
get executor and to pass to
execute() method.parameters - Parameters to pass to run() method.Copyright © 2019. All rights reserved.