Документ взят из кэша поисковой машины. Адрес оригинального документа : http://angel.cs.msu.su/projects/system/javadoc/common/Task.html
Дата изменения: Tue Dec 21 00:38:44 2004
Дата индексирования: Sat Apr 9 23:51:19 2016
Кодировка:
Task

common
Class Task

java.lang.Object
  extended bycommon.Task
All Implemented Interfaces:
java.io.Serializable

public class Task
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

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

Field Detail

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
Constructor Detail

Task

public Task()
Method Detail

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()