Class JDPActiveJob
java.lang.Object
|
+----java.lang.Thread
|
+----JDPActiveJob
- public class JDPActiveJob
- extends Thread
Class JDPActiveJob represents an active Job.
-
JDPActiveJob(JDPSubsystem, JDPJob)
- Creates an Active Job with the specified name.
-
JDPActiveJob(JDPSubsystem, JDPJob, JDPActiveJob, BufferedInputStream)
- Monitors an Active Job with the specified name.
-
completeJob(boolean)
-
Call requested Object, Application or Job Stream.
-
convertParm(String)
-
-
createObject(String, String, String)
-
Create the requested Object.
-
getSelectedConstructor(String, String)
-
-
initJob()
-
Initialize this Job.
-
monitorActiveJob()
-
-
run()
-
Main thread to run this job
-
runApplication(String, String)
-
Run the requested Application.
-
runJobStream(String)
-
Run the requested JobStream.
-
runRequest(String, String, String, String)
-
Run the requested Object.
-
setupJaggConnection()
-
-
startRequest()
-
Call requested Object, Application or Job Stream.
-
writeLog(String)
-
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.
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.
run
public void run()
- Main thread to run this job
- Overrides:
- run in class Thread
initJob
public void initJob()
- Initialize this Job.
startRequest
public boolean startRequest()
- Call requested Object, Application or Job Stream.
completeJob
public void completeJob(boolean result)
- Call requested Object, Application or Job Stream.
runRequest
public boolean runRequest(String objectType,
String objectName,
String constructor,
String parameters)
- Run the requested Object.
createObject
public boolean createObject(String objectName,
String constructor,
String parameters)
- Create the requested Object.
runApplication
public boolean runApplication(String application,
String parameters)
- Run the requested Application.
runJobStream
public boolean runJobStream(String jobStream)
- Run the requested JobStream.
getSelectedConstructor
public Constructor getSelectedConstructor(String classType,
String selectedConstructor)
convertParm
public String convertParm(String parm)
monitorActiveJob
public void monitorActiveJob()
writeLog
public void writeLog(String line)
setupJaggConnection
public void setupJaggConnection()