de.esprit.netsuite.client.tool.pathtree.action

## Class RemoteArchiveExtractEDT<C extends ClientContext>

- java.lang.Object
- - de.esprit.common.util.DumpableObject
  - - de.esprit.appsuite.launch.AbstractApplicationObject<C>
    - - de.esprit.appsuite.task.AbstractAsyncExecutable<C>
      - - de.esprit.appsuite.task.AbstractAsyncTask<C>
        - - de.esprit.netsuite.rtask.AbstractClientTask<C>
          - - de.esprit.netsuite.rtask.AbstractClientEDT<C>
            - - de.esprit.netsuite.client.tool.pathtree.action.RemoteArchiveExtractEDT<C>

- All Implemented Interfaces:
    ApplicationObject<C>, AsyncExecutable<C>, AsyncTask<C>, CancellableTask, LocalCancellableTask, TaskMonitorSupport, TaskIdHolder, SimpleLogSupport, Dumpable, Executable, ClientObject<C>, RemoteTaskEventReceiver<C>, java.lang.Runnable

      public class RemoteArchiveExtractEDT<C extends ClientContext>
      extends AbstractClientEDT<C>

  This task receives task-events from the `RemoteArchiveExtractTask` and logs them locally.
  Author:
    Rainer Buesch

- - ### Field Summary

    - ### Fields inherited from class de.esprit.appsuite.task.AbstractAsyncExecutable

      `childTaskRef, isTestMode, monitorController, resultRef, stateFlag`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `RemoteArchiveExtractEDT(C ctx, java.io.File archiveFile)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `protected de.esprit.netsuite.client.tool.pathtree.action.RemoteArchiveExtractEDT.MyRemoteTaskCreator` | `getRemoteTaskCreator()` Creates the agent that is responsible for starting the remote task.
    `void` | `receivedTaskEvent(RemoteTaskEvent event)` Is called whenever this task has received a `RemoteTaskEvent` from the remotely running task.

    - ### Methods inherited from class de.esprit.netsuite.rtask.AbstractClientEDT

      `cancel, executeAsync, getEventForwarder, getLastReceivedRemoteRunStateFlag, getOwnerSessionId, getRemoteTaskId, isForwardingEvents, setEventForwarder, setOwnerSessionId`

    - ### Methods inherited from class de.esprit.netsuite.rtask.AbstractClientTask

      `executeSubTask, getClientContext, getSessionId`

    - ### Methods inherited from class de.esprit.appsuite.task.AbstractAsyncTask

      `awaitFinished, awaitFinished, awaitStarted, createTaskId, deregisterTask, doOnFinish, doOnStart, doOnSuccess, executeChildTask, executeChildTask, getCurrentFuture, getMaxChildTasks, getPriority, getProcessingDuration, getStartTime, getStopWatch, handleFinish, handleStart, handleSuccess, isRegisterForCancel, isRunning, notifyProceeded, registerTask, releaseStart, run, setCurrentFuture, setMaxChildTasks, setPriority, setRegisterForCancel, setReleaseTimeout, submit, submit, submitInternal, toString, wasSucceeded`

    - ### Methods inherited from class de.esprit.appsuite.task.AbstractAsyncExecutable

      `addMonitor, checkCancelled, checkForErrorAndRethrow, clearMonitors, createRunStateFlag, doOnCancel, doOnFailure, execute, executeSubTask, getError, getMaxProgressSteps, getMonitorCount, getMonitors, getName, getProgressStepCount, getResult, getRunStateFlag, getTaskId, getType, handleCancellation, handleFailure, hasError, hasMonitor, isCancellable, registerTaskStateChange, removeMonitor, resetProgress, setCancellable, setLogLevel, setMaxProgressSteps, setMonitor, setName, setName, setResult, setRunStateFlag, setTaskId, setType, shouldFireMonitor, sleepChecked, wasCancelled`

    - ### Methods inherited from class de.esprit.appsuite.launch.AbstractApplicationObject

      `getApplicationContext, getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel`

    - ### Methods inherited from class de.esprit.common.util.DumpableObject

      `configureDumpHeadlineLength, configureDumpMaxElementsPrinted, copyDumpStringValues, copyToStringValues, createDumpHeader, toDumpString, toDumpString, toString`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

    - ### Methods inherited from interface de.esprit.appsuite.task.AsyncTask

      `awaitFinished, awaitFinished, awaitStarted, executeChildTask, executeChildTask, getError, getProcessingDuration, hasError, isRegisterForCancel, isRunning, releaseStart, setName, setReleaseTimeout, submit, submit`

    - ### Methods inherited from interface de.esprit.appsuite.task.AsyncExecutable

      `checkCancelled, checkForErrorAndRethrow, executeSubTask, getName, getResult, getRunStateFlag, getTaskId, getType, handleCancellation, handleFailure, isCancellable, notifyProceeded, setCancellable, setName, setResult, setRunStateFlag, sleepChecked`

    - ### Methods inherited from interface de.esprit.appsuite.launch.ApplicationObject

      `getApplicationContext`

    - ### Methods inherited from interface de.esprit.common.type.Executable

      `execute`

    - ### Methods inherited from interface de.esprit.appsuite.task.monitor.TaskMonitorSupport

      `addMonitor, clearMonitors, getMonitorCount, getMonitors, hasMonitor, removeMonitor`

    - ### Methods inherited from interface de.esprit.common.log.SimpleLogSupport

      `getLogChannel, isLogDebug, isLogVerbose, logDebug, logDump, logError, logError, logFatal, logInfo, logVerbose, logWarning, setLogChannel`

    - ### Methods inherited from interface java.lang.Runnable

      `run`

    - ### Methods inherited from interface de.esprit.appsuite.task.CancellableTask

      `wasCancelled`

    - ### Methods inherited from interface de.esprit.appsuite.task.TaskIdHolder

      `getTaskId`

    - ### Methods inherited from interface de.esprit.common.type.Dumpable

      `toDumpString, toDumpString, toString, toString`

    - ### Methods inherited from interface de.esprit.netsuite.client.ClientObject

      `getClientContext`

- - ### Constructor Detail

    - #### RemoteArchiveExtractEDT

          public RemoteArchiveExtractEDT(C ctx,
                                 java.io.File archiveFile)

  - ### Method Detail

    - #### receivedTaskEvent

          public void receivedTaskEvent(RemoteTaskEvent event)

      Description copied from class: `AbstractClientEDT`
      Is called whenever this task has received a `RemoteTaskEvent` from the remotely running task. Within this method we may investigate the event type and perform an appropriate reaction. Note that any RuntimeException thrown here will not break the event iteration.
      Specified by:
        `receivedTaskEvent` in interface `RemoteTaskEventReceiver<C extends ClientContext>`
      Overrides:
        `receivedTaskEvent` in class `AbstractClientEDT<C extends ClientContext>`

    - #### getRemoteTaskCreator

          protected de.esprit.netsuite.client.tool.pathtree.action.RemoteArchiveExtractEDT.MyRemoteTaskCreator getRemoteTaskCreator()

      Description copied from class: `AbstractClientEDT`
      Creates the agent that is responsible for starting the remote task.
      Specified by:
        `getRemoteTaskCreator` in class `AbstractClientEDT<C extends ClientContext>`

Copyright © 2014 EsprIT-Systems. All Rights Reserved.