Class JDPActiveJob

java.lang.Object
   |
   +----java.lang.Thread
           |
           +----JDPActiveJob

public class JDPActiveJob
extends Thread
Class JDPActiveJob represents an active Job.


Constructor Index

 o JDPActiveJob(JDPSubsystem, JDPJob)
Creates an Active Job with the specified name.
 o JDPActiveJob(JDPSubsystem, JDPJob, JDPActiveJob, BufferedInputStream)
Monitors an Active Job with the specified name.

Method Index

 o completeJob(boolean)
Call requested Object, Application or Job Stream.
 o convertParm(String)
 o createObject(String, String, String)
Create the requested Object.
 o getSelectedConstructor(String, String)
 o initJob()
Initialize this Job.
 o monitorActiveJob()
 o run()
Main thread to run this job
 o runApplication(String, String)
Run the requested Application.
 o runJobStream(String)
Run the requested JobStream.
 o runRequest(String, String, String, String)
Run the requested Object.
 o setupJaggConnection()
 o startRequest()
Call requested Object, Application or Job Stream.
 o writeLog(String)

Constructors

 o JDPActiveJob
 public JDPActiveJob(JDPSubsystem subsystem,
                     JDPJob job)
Creates an Active Job with the specified name.

Parameters:
subsystem - the subsystem that the job is running in.
job - the job to create and run.
 o JDPActiveJob
 public JDPActiveJob(JDPSubsystem subsystem,
                     JDPJob job,
                     JDPActiveJob target,
                     BufferedInputStream thisStream)
Monitors an Active Job with the specified name.

Parameters:
subsystem - the subsystem that the job is running in.
job - the job to create and run.
target - the handle to the active job to monitor.

Methods

 o run
 public void run()
Main thread to run this job

Overrides:
run in class Thread
 o initJob
 public void initJob()
Initialize this Job.

 o startRequest
 public boolean startRequest()
Call requested Object, Application or Job Stream.

 o completeJob
 public void completeJob(boolean result)
Call requested Object, Application or Job Stream.

 o runRequest
 public boolean runRequest(String objectType,
                           String objectName,
                           String constructor,
                           String parameters)
Run the requested Object.

 o createObject
 public boolean createObject(String objectName,
                             String constructor,
                             String parameters)
Create the requested Object.

 o runApplication
 public boolean runApplication(String application,
                               String parameters)
Run the requested Application.

 o runJobStream
 public boolean runJobStream(String jobStream)
Run the requested JobStream.

 o getSelectedConstructor
 public Constructor getSelectedConstructor(String classType,
                                           String selectedConstructor)
 o convertParm
 public String convertParm(String parm)
 o monitorActiveJob
 public void monitorActiveJob()
 o writeLog
 public void writeLog(String line)
 o setupJaggConnection
 public void setupJaggConnection()