## Uses of Interface
de.esprit.appsuite.task.monitor.TaskMonitor

- Packages that use TaskMonitor
  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.netsuite.rtask | Contains extensions for RemoteAsyncTask support
  de.esprit.netsuite.rtask.journal | Contains the classes implementing journalled remote tasks
  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 TaskMonitor in de.esprit.appsuite.gui.task

    Classes in de.esprit.appsuite.gui.task that implement TaskMonitor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `SwingTaskMonitor<C extends ApplicationContext>` This monitor is being notified by a running `AsyncTask` about it's RunState changes.
    `class` | `WriterTaskMonitor<C extends ApplicationContext>` This monitor writes a journal-file for the task it is attached to.

    Methods in de.esprit.appsuite.gui.task with parameters of type TaskMonitor
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractSwingTask.`addMonitor(TaskMonitor newMonitor)`

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

    Classes in de.esprit.appsuite.task that implement TaskMonitor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DebugTaskMonitor<C extends ApplicationContext>` This class is just for testing task notifications
    `class` | `DefaultTaskMonitor<C extends ApplicationContext>` This is a `TaskMonitor` template with empty default implementations.

    Methods in de.esprit.appsuite.task that return TaskMonitor
    Modifier and Type | Method and Description
    --- | ---
    `TaskMonitor[]` | AbstractAsyncExecutable.`getMonitors()`

    Methods in de.esprit.appsuite.task with parameters of type TaskMonitor
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractAsyncExecutable.`addMonitor(TaskMonitor monitor)`
    `static SwingTaskMonitor` | TaskUtil.`findSwingTaskMonitor(TaskMonitor[] monitors)` Tries to find a `SwingTaskMonitor` in the given monitor array.
    `void` | AbstractAsyncExecutable.`removeMonitor(TaskMonitor monitor)`
    `void` | AbstractAsyncExecutable.`setMonitor(TaskMonitor monitor)` Clears all monitors and adds the given monitor as the only one.

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

    Classes in de.esprit.appsuite.task.monitor that implement TaskMonitor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AbstractTaskMonitor<C extends ApplicationContext>` This class is being notified by a running `AsyncTask` about its `RunState` changes.
    `class` | `TaskMonitorList` This is a `TaskMonitor` implementation that actually manages a list of `TaskMonitor`s.

    Methods in de.esprit.appsuite.task.monitor that return TaskMonitor
    Modifier and Type | Method and Description
    --- | ---
    `TaskMonitor[]` | TaskMonitorSupport.`getMonitors()` Return the current `TaskMonitor`s if any
    `TaskMonitor[]` | TaskMonitorList.`getMonitors()`
    `TaskMonitor[]` | TaskMonitorController.`getMonitors()`

    Methods in de.esprit.appsuite.task.monitor with parameters of type TaskMonitor
    Modifier and Type | Method and Description
    --- | ---
    `void` | TaskMonitorSupport.`addMonitor(TaskMonitor monitor)` Adds a `TaskMonitor` which is notified about `RunStateFlag` changes
    `void` | TaskMonitorList.`addMonitor(TaskMonitor monitor)`
    `void` | TaskMonitorController.`addMonitor(TaskMonitor monitor)`
    `void` | TaskMonitorSupport.`removeMonitor(TaskMonitor monitor)` Removes the given `TaskMonitor` from the registration
    `void` | TaskMonitorList.`removeMonitor(TaskMonitor monitor)`
    `void` | TaskMonitorController.`removeMonitor(TaskMonitor monitor)`

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

    Classes in de.esprit.netsuite.rtask that implement TaskMonitor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RemoteTaskMonitor<S extends ServerContext>` This `TaskMonitor` sends `RemoteTaskEvent`s to the client for synchronization.

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

    Methods in de.esprit.netsuite.rtask with parameters of type TaskMonitor
    Modifier and Type | Method and Description
    --- | ---
    `void` | AbstractRemoteTask.`addMonitor(TaskMonitor monitor)`

  - ### Uses of TaskMonitor in de.esprit.netsuite.rtask.journal

    Classes in de.esprit.netsuite.rtask.journal that implement TaskMonitor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `JournalTaskMonitor<S extends ServerContext>` This is a special `RemoteTaskMonitor` which stores all `RemoteTaskEvent`s sent in a journalList.

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

    Classes in de.esprit.netsuite.server.batch that implement TaskMonitor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `BatchTaskMonitor<S extends ServerContext>` This Monitor is attached to `AbstractBatchTask` instances.

    Methods in de.esprit.netsuite.server.batch that return TaskMonitor
    Modifier and Type | Method and Description
    --- | ---
    `protected TaskMonitor` | AbstractBatchTask.`createTaskMonitor()`

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

    Classes in de.esprit.netsuite.server.cpu that implement TaskMonitor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `AgentTaskMonitor<S extends ServerContext>` This `TaskMonitor` sends `RemoteTaskEvent`s to the client for synchronization.

    Methods in de.esprit.netsuite.server.cpu that return TaskMonitor
    Modifier and Type | Method and Description
    --- | ---
    `protected TaskMonitor` | AgentExecutorTask.`createTaskMonitor()` Has got a special Monitor that only reports the main task events.

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

    Classes in de.esprit.netsuite.server.hist that implement TaskMonitor
    Modifier and Type | Class and Description
    --- | ---
    `class` | `RemoteTaskHistoryMonitor<S extends ServerContext>` This `TaskMonitor` writes a history record for a `RemoteTask` when the task has finished.

Copyright © 2014 EsprIT-Systems. All Rights Reserved.