Package | Description |
---|---|
de.esprit.appsuite.task |
Contains basic classes that make up the AsyncTask framework
|
de.esprit.netsuite.netdata |
Contains serializable objects which are interchanged between client and server
|
de.esprit.netsuite.netdata.agent |
Contains base classes for implementing custom network agents
|
de.esprit.netsuite.rtask |
Contains extensions for RemoteAsyncTask support
|
Modifier and Type | Class and Description |
---|---|
class |
RunStateFlag
|
Modifier and Type | Method and Description |
---|---|
void |
LocalCancellableTask.cancel()
Cancels the running task.
|
java.lang.Exception |
AsyncTask.getError()
Returns the execution error of this task which is only available
if the task failed.
|
int |
AbstractAsyncExecutable.getProgressStepCount()
Returns the number of progress steps notified during the last run.
|
<R> R |
AsyncExecutable.getResult()
Returns the execution result of this task, if any.
|
boolean |
AsyncTask.hasError()
Tells whether the task failed and contains an execution error
|
boolean |
AsyncExecutable.isCancellable()
Tells whether this task can be cancelled.
|
boolean |
AsyncTask.isRunning()
Returns true from the time on the task has been submitted until it has finished.
|
protected void |
AbstractAsyncExecutable.resetProgress() |
void |
AsyncExecutable.setCancellable(boolean isCancellable)
Tells whether this task is cancellable - is true by default.
|
void |
AsyncExecutable.setResult(java.lang.Object obj)
Stores the execution result of this instance
|
boolean |
CancellableTask.wasCancelled()
Tells whether ever an attempt has been made to cancel this task.
|
Modifier and Type | Method and Description |
---|---|
UserId |
SessionId.getUserId() |
void |
SessionId.setUserId(UserId userId) |
Modifier and Type | Method and Description |
---|---|
void |
AbstractAgent.setCancelledBy(SessionId killerSessId)
Marks the agent to be cancelled without performing any further
cancel action.
|
boolean |
AbstractAgent.wasCancelled() |
Modifier and Type | Class and Description |
---|---|
class |
RemoteRunStateFlag
This flag is used to track the state of remote running tasks.
|
Modifier and Type | Method and Description |
---|---|
void |
RemoteCancellableTask.cancel(SessionId killerSessId)
Cancels the running task and stores the
SessionId of the killer. |
SessionId |
RemoteCancellableTask.getKillerSessionId()
Returns the
SessionId of the one who cancelled this task |
Copyright © 2014 EsprIT-Systems. All Rights Reserved.