planetj.dataengine.task
Class RetrieveLibrariesTask

java.lang.Object
  |
  +--java.util.TimerTask
        |
        +--planetj.util.CMTimerTask
              |
              +--planetj.dataengine.task.DataEngineTimerTask
                    |
                    +--planetj.dataengine.task.RetrieveLibrariesTask
All Implemented Interfaces:
Runnable

public class RetrieveLibrariesTask
extends DataEngineTimerTask

When this task runs, it uses the DataEngine to retrieve a Map of all the libraries for a given system alias. This map is then stored as the task's TaskEvent result.

Author:
PlanetJ Corporation

Constructor Summary
RetrieveLibrariesTask()
          DETask constructor comment.
RetrieveLibrariesTask(DBSystem pSystem)
          DETask constructor comment.
 
Method Summary
 DBSystem getSystem()
          Returns the system to look for libraries.
 void performTask()
          The action to be performed by this task.
 void setSystem(DBSystem pSystem)
          Sets the system to retrieve the libraries from.
 
Methods inherited from class planetj.dataengine.task.DataEngineTimerTask
postTask, preTask
 
Methods inherited from class planetj.util.CMTimerTask
addListener, getNewTaskEvent, getTaskEvent, removeListener, run
 
Methods inherited from class java.util.TimerTask
cancel, scheduledExecutionTime
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RetrieveLibrariesTask

public RetrieveLibrariesTask()
DETask constructor comment.


RetrieveLibrariesTask

public RetrieveLibrariesTask(DBSystem pSystem)
DETask constructor comment.

Method Detail

getSystem

public DBSystem getSystem()
Returns the system to look for libraries.

Returns:
pSystem

performTask

public void performTask()
                 throws Exception
The action to be performed by this task.

Specified by:
performTask in class CMTimerTask
Exception

setSystem

public void setSystem(DBSystem pSystem)
Sets the system to retrieve the libraries from.

Parameters:
pSystem - String