java.lang.Object
arch.task.JXTask
arch.task.JunkTask
- All Implemented Interfaces:
- java.io.Serializable
- public final class JunkTask
- extends JXTask
JunkTask describes a service or task that is supported by the current Junk
implementation. Each service or task is represented by an integer id defined
in the JunkSupportedTask class and a detailed string description of what that
service is as well as what it does. It is mainly used to define the JXTask in
a JXRequest sent to the core module (JUNK). This class is an immutable class
that is designed for thread safe operation.
- Since:
- JD4X 1.0
- Version:
- 0.1, 27/05/2002
| Fields inherited from class arch.task.JXTask |
|
|
Constructor Summary |
JunkTask(int id,
java.lang.String describe)
Default constructor that creates a new JXTask to represent an id
and its service or task description. |
param
private java.util.Vector param
- Parameters associated with a JunkTask
JunkTask
public JunkTask(int id,
java.lang.String describe)
- Default constructor that creates a new JXTask to represent an id
and its service or task description.
setParam
public void setParam(java.util.Vector vparam)
- Sets the parameters associated with a task. The parameters are then
passed to the actual module that will need these parameters to carry
out the required task. The order of parameters in the Vector for each
of the possible task request are as follow:
JXProess = [1]command, [2]environment, [3]working directory.
JXJvm = [1]JVM type, [2]System Property, [3]verbose, [4]class.
Redirect standard out and error = [1]JXRedirectService interface.
Add Plugin = ?
Remove Plugin = ?
getParam
public java.util.Vector getParam()
- Get the parameter associated with the request.