## Uses of Class
de.esprit.appsuite.task.RunStateFlag

- Packages that use RunStateFlag
  Package | Description
  --- | ---
  de.esprit.appsuite.gui.task | Contains GUI support classes for async tasks
  de.esprit.appsuite.task | Contains basic classes that make up the AsyncTask framework
  de.esprit.appsuite.task.monitor | Contains support classes for monitoring async tasks
  de.esprit.appsuite.task.taskmgr | Contains classes for managing asynchronous tasks.
  de.esprit.netsuite.netdata.event | Contains serializable events that are sent by the server
  de.esprit.netsuite.rtask | Contains extensions for RemoteAsyncTask support
  de.esprit.netsuite.server.batch | Contains classes that implement and manage the available server processes
  de.esprit.netsuite.server.cpu | Contains classes of the positioner tool (MVC-demo)
  de.esprit.netsuite.server.hist | Contains classes implementing the servers task history

- - ### Uses of RunStateFlag in de.esprit.appsuite.gui.task

    Methods in de.esprit.appsuite.gui.task with parameters of type RunStateFlag
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | WriterTaskMonitor.`printRunState(RunStateFlag state)`
    `void` | WriterTaskMonitor.`taskCancelled(RunStateFlag stateFlag)`
    `void` | SwingTaskMonitor.`taskCancelled(RunStateFlag stateFlag)`
    `void` | WriterTaskMonitor.`taskChildFinished(RunStateFlag stateFlag)`
    `void` | SwingTaskMonitor.`taskChildFinished(RunStateFlag stateFlag)`
    `void` | WriterTaskMonitor.`taskChildStarted(RunStateFlag stateFlag)`
    `void` | SwingTaskMonitor.`taskChildStarted(RunStateFlag stateFlag)`
    `void` | WriterTaskMonitor.`taskChildSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | SwingTaskMonitor.`taskChildSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | WriterTaskMonitor.`taskFailed(RunStateFlag stateFlag, java.lang.Exception error)`
    `void` | SwingTaskMonitor.`taskFailed(RunStateFlag stateFlag, java.lang.Exception error)`
    `void` | WriterTaskMonitor.`taskFinished(RunStateFlag stateFlag)`
    `void` | SwingTaskMonitor.`taskFinished(RunStateFlag stateFlag)`
    `void` | WriterTaskMonitor.`taskProceeded(RunStateFlag stateFlag, java.lang.Object result, int step, int maxSteps, java.lang.String message)`
    `void` | SwingTaskMonitor.`taskProceeded(RunStateFlag stateFlag, java.lang.Object info, int step, int maxSteps, java.lang.String message)`
    `void` | WriterTaskMonitor.`taskStarted(RunStateFlag stateFlag)`
    `void` | SwingTaskMonitor.`taskStarted(RunStateFlag stateFlag)`
    `void` | WriterTaskMonitor.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | SwingTaskMonitor.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`

  - ### Uses of RunStateFlag in de.esprit.appsuite.task

    Fields in de.esprit.appsuite.task declared as RunStateFlag
    Modifier and Type | Field and Description
    --- | ---
    `protected RunStateFlag` | AbstractAsyncExecutable.`stateFlag`

    Methods in de.esprit.appsuite.task that return RunStateFlag
    Modifier and Type | Method and Description
    --- | ---
    `protected RunStateFlag` | AbstractAsyncExecutable.`createRunStateFlag()` Creates the `RunStateFlag` instance of this task.
    `RunStateFlag` | TaskEvent.`getRunStateFlag()`
    `RunStateFlag` | AsyncExecutable.`getRunStateFlag()` Returns the current `RunStateFlag`.
    `RunStateFlag` | AbstractAsyncExecutable.`getRunStateFlag()`

    Methods in de.esprit.appsuite.task with parameters of type RunStateFlag
    Modifier and Type | Method and Description
    --- | ---
    `static void` | TaskUtil.`checkForErrorAndRethrow(RunStateFlag stateFlag, java.lang.Exception e)` Used to store an Error (if any) or a cancellation in the given `RunStateFlag`.
    `static RunState` | TaskUtil.`resultingRunStateOf(RunStateFlag flag)` Return the resulting `RunState` of a `RunStateFlag` of a finished task.
    `void` | AsyncExecutable.`setRunStateFlag(RunStateFlag stateFlag)` Assigns the `RunStateFlag` of the executing `AsyncTask` to this executable.
    `void` | AbstractAsyncExecutable.`setRunStateFlag(RunStateFlag stateFlag)` Used to set a `RunStateFlag` if this task should run as a childTask.
    `void` | DefaultTaskMonitor.`taskCancelled(RunStateFlag stateFlag)`
    `void` | DebugTaskMonitor.`taskCancelled(RunStateFlag stateFlag)`
    `void` | DefaultTaskMonitor.`taskChildFinished(RunStateFlag stateFlag)`
    `void` | DebugTaskMonitor.`taskChildFinished(RunStateFlag stateFlag)`
    `void` | DefaultTaskMonitor.`taskChildStarted(RunStateFlag stateFlag)`
    `void` | DebugTaskMonitor.`taskChildStarted(RunStateFlag stateFlag)`
    `void` | DefaultTaskMonitor.`taskChildSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | DebugTaskMonitor.`taskChildSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | DefaultTaskMonitor.`taskFailed(RunStateFlag stateFlag, java.lang.Exception error)`
    `void` | DebugTaskMonitor.`taskFailed(RunStateFlag stateFlag, java.lang.Exception e)`
    `void` | DefaultTaskMonitor.`taskFinished(RunStateFlag stateFlag)`
    `void` | DebugTaskMonitor.`taskFinished(RunStateFlag stateFlag)`
    `void` | DefaultTaskMonitor.`taskProceeded(RunStateFlag stateFlag, java.lang.Object obj, int step, int maxSteps, java.lang.String message)`
    `void` | DebugTaskMonitor.`taskProceeded(RunStateFlag stateFlag, java.lang.Object result, int step, int maxSteps, java.lang.String message)`
    `void` | DefaultTaskMonitor.`taskStarted(RunStateFlag stateFlag)`
    `void` | DebugTaskMonitor.`taskStarted(RunStateFlag stateFlag)`
    `void` | DefaultTaskMonitor.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | DebugTaskMonitor.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`

    Constructors in de.esprit.appsuite.task with parameters of type RunStateFlag
    Constructor and Description
    `RunStateFlag(RunStateFlag flag)` Copy constructor for FAST copy of a `RunStateFlag`
    `TaskEvent(RunStateFlag stateFlag)`
    `TaskEvent(RunStateFlag stateFlag, java.lang.Object result)`
    `TaskEvent(RunStateFlag stateFlag, java.lang.Object result, int step, int maxSteps, java.lang.String message)`

  - ### Uses of RunStateFlag in de.esprit.appsuite.task.monitor

    Methods in de.esprit.appsuite.task.monitor with parameters of type RunStateFlag
    Modifier and Type | Method and Description
    --- | ---
    `void` | TaskMonitorController.`notifyCancelled(RunStateFlag stateFlag)`
    `void` | TaskMonitorController.`notifyChildTaskFinished(RunStateFlag stateFlag)`
    `void` | TaskMonitorController.`notifyChildTaskStarted(RunStateFlag stateFlag)`
    `void` | TaskMonitorController.`notifyChildTaskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | TaskMonitorController.`notifyFailed(RunStateFlag stateFlag, java.lang.Exception error)`
    `void` | TaskMonitorController.`notifyMainTaskFinished(RunStateFlag stateFlag)`
    `void` | TaskMonitorController.`notifyMainTaskStarted(RunStateFlag stateFlag)`
    `void` | TaskMonitorController.`notifyMainTaskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | TaskMonitorController.`notifyTaskProceeded(RunStateFlag stateFlag, java.lang.Object result, int step, int maxSteps, java.lang.String message)`
    `void` | TaskMonitorList.`taskCancelled(RunStateFlag stateFlag)`
    `void` | TaskMonitor.`taskCancelled(RunStateFlag stateFlag)` Called when the async task has discovered that it was cancelled
    `void` | TaskMonitorList.`taskChildFinished(RunStateFlag stateFlag)`
    `void` | TaskMonitor.`taskChildFinished(RunStateFlag stateFlag)` Indicates that a child task has been finished.
    `void` | TaskMonitorList.`taskChildStarted(RunStateFlag stateFlag)`
    `void` | TaskMonitor.`taskChildStarted(RunStateFlag stateFlag)` Indicates that a child task has been started.
    `void` | TaskMonitorList.`taskChildSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | TaskMonitor.`taskChildSucceeded(RunStateFlag stateFlag, java.lang.Object result)` Indicates that a child task has been succeeded with the given result.
    `void` | TaskMonitorList.`taskFailed(RunStateFlag stateFlag, java.lang.Exception error)`
    `void` | TaskMonitor.`taskFailed(RunStateFlag stateFlag, java.lang.Exception error)` Called when the async task failed
    `void` | TaskMonitorList.`taskFinished(RunStateFlag stateFlag)`
    `void` | TaskMonitor.`taskFinished(RunStateFlag stateFlag)` Called when the async task finished
    `void` | TaskMonitorList.`taskProceeded(RunStateFlag stateFlag, java.lang.Object result, int step, int maxSteps, java.lang.String message)`
    `void` | TaskMonitor.`taskProceeded(RunStateFlag stateFlag, java.lang.Object result, int step, int maxSteps, java.lang.String message)` Is called on task progress.
    `void` | TaskMonitorList.`taskStarted(RunStateFlag stateFlag)`
    `void` | TaskMonitor.`taskStarted(RunStateFlag stateFlag)` Called when the async task started
    `void` | TaskMonitorList.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | TaskMonitor.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)` Called when the async task succeeded

  - ### Uses of RunStateFlag in de.esprit.appsuite.task.taskmgr

    Methods in de.esprit.appsuite.task.taskmgr that return RunStateFlag
    Modifier and Type | Method and Description
    --- | ---
    `RunStateFlag` | TaskRegistrationEvent.`getRunStateFlag()`

    Methods in de.esprit.appsuite.task.taskmgr with parameters of type RunStateFlag
    Modifier and Type | Method and Description
    --- | ---
    `void` | TaskRegistry.`registerTaskStateChange(RunStateFlag stateFlag)` This call causes a `TaskRegistrationEvent` of type `ChangeType.UPDATE` to be fired.
    `void` | TaskManager.`registerTaskStateChange(RunStateFlag stateFlag)`

    Constructors in de.esprit.appsuite.task.taskmgr with parameters of type RunStateFlag
    Constructor and Description
    `TaskRegistrationEvent(RunStateFlag stateFlag, ChangeType type)`

  - ### Uses of RunStateFlag in de.esprit.netsuite.netdata.event

    Constructors in de.esprit.netsuite.netdata.event with parameters of type RunStateFlag
    Constructor and Description
    `BatchTaskEvent(BatchTaskConfigEntry taskCfg, RunStateFlag stateFlag)`
    `BatchTaskEvent(BatchTaskConfigEntry taskCfg, RunStateFlag stateFlag, java.lang.Object result)`
    `BatchTaskEvent(BatchTaskConfigEntry taskCfg, RunStateFlag stateFlag, java.lang.Object result, int step, int maxSteps, java.lang.String message)`

  - ### Uses of RunStateFlag in de.esprit.netsuite.rtask

    Subclasses of RunStateFlag in de.esprit.netsuite.rtask
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RemoteRunStateFlag` This flag is used to track the state of remote running tasks.

    Methods in de.esprit.netsuite.rtask that return RunStateFlag
    Modifier and Type | Method and Description
    --- | ---
    `protected RunStateFlag` | AbstractRemoteTask.`createRunStateFlag()`
    `protected RunStateFlag` | AbstractRemoteOsProcessTask.`createRunStateFlag()`

    Methods in de.esprit.netsuite.rtask with parameters of type RunStateFlag
    Modifier and Type | Method and Description
    --- | ---
    `void` | RemoteTaskMonitor.`taskCancelled(RunStateFlag stateFlag)`
    `void` | RemoteTaskMonitor.`taskChildFinished(RunStateFlag stateFlag)`
    `void` | RemoteTaskMonitor.`taskChildStarted(RunStateFlag stateFlag)`
    `void` | RemoteTaskMonitor.`taskChildSucceeded(RunStateFlag stateFlag, java.lang.Object result)`
    `void` | RemoteTaskMonitor.`taskFailed(RunStateFlag stateFlag, java.lang.Exception error)`
    `void` | RemoteTaskMonitor.`taskFinished(RunStateFlag stateFlag)`
    `void` | RemoteTaskMonitor.`taskProceeded(RunStateFlag stateFlag, java.lang.Object result, int step, int maxSteps, java.lang.String message)`
    `void` | RemoteTaskMonitor.`taskStarted(RunStateFlag stateFlag)`
    `void` | RemoteTaskMonitor.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`

  - ### Uses of RunStateFlag in de.esprit.netsuite.server.batch

    Methods in de.esprit.netsuite.server.batch with parameters of type RunStateFlag
    Modifier and Type | Method and Description
    --- | ---
    `void` | BatchTaskMonitor.`taskCancelled(RunStateFlag stateFlag)`
    `void` | BatchTaskMonitor.`taskFailed(RunStateFlag stateFlag, java.lang.Exception error)`
    `void` | BatchTaskMonitor.`taskFinished(RunStateFlag stateFlag)`
    `void` | BatchTaskMonitor.`taskProceeded(RunStateFlag stateFlag, java.lang.Object obj, int step, int maxSteps, java.lang.String message)`
    `void` | BatchTaskMonitor.`taskStarted(RunStateFlag stateFlag)`
    `void` | BatchTaskMonitor.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`

  - ### Uses of RunStateFlag in de.esprit.netsuite.server.cpu

    Methods in de.esprit.netsuite.server.cpu with parameters of type RunStateFlag
    Modifier and Type | Method and Description
    --- | ---
    `void` | AgentTaskMonitor.`taskCancelled(RunStateFlag stateFlag)`
    `void` | AgentTaskMonitor.`taskFailed(RunStateFlag stateFlag, java.lang.Exception error)`
    `void` | AgentTaskMonitor.`taskFinished(RunStateFlag stateFlag)`
    `void` | AgentTaskMonitor.`taskProceeded(RunStateFlag stateFlag, java.lang.Object result, int step, int maxSteps, java.lang.String message)`
    `void` | AgentTaskMonitor.`taskStarted(RunStateFlag stateFlag)`
    `void` | AgentTaskMonitor.`taskSucceeded(RunStateFlag stateFlag, java.lang.Object result)`

  - ### Uses of RunStateFlag in de.esprit.netsuite.server.hist

    Methods in de.esprit.netsuite.server.hist with parameters of type RunStateFlag
    Modifier and Type | Method and Description
    --- | ---
    `void` | TaskHistoryRecord.`setValues(RunStateFlag stateFlag)`
    `void` | RemoteTaskHistoryMonitor.`taskFinished(RunStateFlag stateFlag)`

    Constructors in de.esprit.netsuite.server.hist with parameters of type RunStateFlag
    Constructor and Description
    `TaskHistoryRecord(java.lang.String name, RunStateFlag stateFlag)`

Copyright © 2014 EsprIT-Systems. All Rights Reserved.