TaskListener
s. Events passed to this TaskListener
will be forwarded to all the registered TaskListeners.
This is NOT part of any supported API. If you write code that depends on this, you do so at your own risk. This code and its internal interfaces are subject to change or deletion without notice.
Modifier and Type | Field and Description |
---|---|
pack-priv ClientCodeWrapper | |
private final DeferredCompletionFailureHandler | |
private static final TaskListener[] | EMPTY_LISTENERS
Empty array of task listeners |
pack-priv TaskListener[] | listeners
The current set of registered listeners. |
public static final Context. | taskListenerKey
The context key for the MultiTaskListener. |
Access | Constructor and Description |
---|---|
protected |
Modifier and Type | Method and Description |
---|---|
public void | |
public void | |
public void | finished(TaskEvent
the event e)Overrides default com. |
public Collection | |
public static MultiTaskListener | |
public boolean | |
public void | |
public void | started(TaskEvent
the event e)Overrides default com. |
public String |
ccw | back to summary |
---|---|
pack-priv ClientCodeWrapper ccw |
dcfh | back to summary |
---|---|
private final DeferredCompletionFailureHandler dcfh |
EMPTY_LISTENERS | back to summary |
---|---|
private static final TaskListener[] EMPTY_LISTENERS Empty array of task listeners |
listeners | back to summary |
---|---|
pack-priv TaskListener[] listeners The current set of registered listeners. This is a mutable reference to an immutable array. |
taskListenerKey | back to summary |
---|---|
public static final Context. The context key for the MultiTaskListener. |
MultiTaskListener | back to summary |
---|---|
protected MultiTaskListener(Context context)
|
add | back to summary |
---|---|
public void add(TaskListener listener) |
clear | back to summary |
---|---|
public void clear() |
finished | back to summary |
---|---|
public void finished(TaskEvent e) Overrides default com. Doc from com. Invoked when an event has been completed.
|
getTaskListeners | back to summary |
---|---|
public Collection |
instance | back to summary |
---|---|
public static MultiTaskListener instance(Context context) Get the MultiTaskListener instance for this context. |
isEmpty | back to summary |
---|---|
public boolean isEmpty() |
remove | back to summary |
---|---|
public void remove(TaskListener listener) |
started | back to summary |
---|---|
public void started(TaskEvent e) Overrides default com. Doc from com. Invoked when an event has begun.
|
toString | back to summary |
---|---|
public String toString() Overrides java. Doc from java. Returns a string representation of the object. |