common
Class Task
java.lang.Object
common.Task
- All Implemented Interfaces:
- java.io.Serializable
- public class Task
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
Task()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ID
private java.lang.String ID
IN
public static final int IN
- See Also:
- Constant Field Values
INOUT
public static final int INOUT
- See Also:
- Constant Field Values
OUT
public static final int OUT
- See Also:
- Constant Field Values
userInfo
private UserInfo userInfo
hdr
private java.io.File hdr
module
private java.lang.String module
host
private java.lang.String host
prog
private java.lang.String prog
cgibin
private java.lang.String cgibin
cgibinLocal
private java.lang.String cgibinLocal
started
private boolean started
completed
private boolean completed
in
private java.util.Vector in
inout
private java.util.Vector inout
out
private java.util.Vector out
inout_out
private java.util.Vector inout_out
in_inout
private java.util.Vector in_inout
in_inout_out
private java.util.Vector in_inout_out
packet
private java.util.Vector packet
ex
private java.lang.Exception ex
Task
public Task()
setUserInfo
public void setUserInfo(UserInfo userInfo)
setHeader
public void setHeader(java.io.File hdr)
setModule
public void setModule(java.lang.String module)
setFiles
public void setFiles(java.util.Vector in,
java.util.Vector inout,
java.util.Vector out)
setHost
public void setHost(java.lang.String host,
java.lang.String prog,
java.lang.String cgibin,
java.lang.String cgibinLocal)
setCompleted
public void setCompleted()
setStarted
public void setStarted()
isStarted
public boolean isStarted()
getUserInfo
public UserInfo getUserInfo()
getHeader
public java.io.File getHeader()
getModule
public java.lang.String getModule()
getFilesVector
private java.util.Vector getFilesVector(int what)
getFiles
public java.util.Enumeration getFiles(int what)
getFilesToArray
public java.lang.String[] getFilesToArray(int what)
getHost
public java.lang.String getHost()
getProg
public java.lang.String getProg()
getCgibin
public java.lang.String getCgibin()
getCgibinLocal
public java.lang.String getCgibinLocal()
isCompleted
public boolean isCompleted()
setPacket
public void setPacket(java.util.Vector packet)
getPacket
public java.util.List getPacket()
setException
public void setException(java.lang.Exception ex)
getException
public java.lang.Exception getException()
getName
public java.lang.String getName()
getDBurl
public java.lang.String getDBurl()
- returns cgibin path without protocol prefix
Throws something if Task is wrong (i.e. doesn't have protocol prefix)
- Returns:
setID
public void setID(java.lang.String id)
- Sets Task running identifier
- Parameters:
id
-
getID
public java.lang.String getID()