com.infoengine.administration.delegate
Class Task

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byjava.util.Properties
              extended bycom.infoengine.administration.delegate.Task
All Implemented Interfaces:
Cloneable, Map, Serializable

public class Task
extends Properties

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class java.util.Hashtable
 
Field Summary
static String COMMENT
           
static String COMMENT_DESC
           
static String COMMENT_END
           
static String COMMENT_START
           
private  String defaultName
           
private  String defaultTypeId
           
static String DELEGATE_NAME
           
private  String taskRef
           
 
Fields inherited from class java.util.Properties
defaults
 
Fields inherited from class java.util.Hashtable
 
Constructor Summary
Task(File task, File root, DotDelegateInfo dotInfo)
           
 
Method Summary
 String getComment()
           
 String getDelegateName()
           
 String getRepositoryType()
           
 String getTaskRef()
           
 String getTypeId()
           
 boolean install()
           
private  void load(File task)
           
 void load(InputStream is)
           
 void store(OutputStream os, String header)
           
 
Methods inherited from class java.util.Properties
getProperty, getProperty, list, list, propertyNames, save, setProperty
 
Methods inherited from class java.util.Hashtable
clear, clone, contains, containsKey, containsValue, elements, entrySet, equals, get, hashCode, isEmpty, keys, keySet, put, putAll, rehash, remove, size, toString, values
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

COMMENT

public static final String COMMENT
See Also:
Constant Field Values

DELEGATE_NAME

public static final String DELEGATE_NAME
See Also:
Constant Field Values

COMMENT_DESC

public static final String COMMENT_DESC
See Also:
Constant Field Values

COMMENT_START

public static final String COMMENT_START
See Also:
Constant Field Values

COMMENT_END

public static final String COMMENT_END
See Also:
Constant Field Values

taskRef

private String taskRef

defaultName

private String defaultName

defaultTypeId

private String defaultTypeId
Constructor Detail

Task

public Task(File task,
            File root,
            DotDelegateInfo dotInfo)
     throws IOException
Method Detail

load

public void load(InputStream is)
          throws IOException
Throws:
IOException

store

public void store(OutputStream os,
                  String header)
           throws IOException
Throws:
IOException

load

private void load(File task)
           throws IOException
Throws:
IOException

getTaskRef

public String getTaskRef()

getDelegateName

public String getDelegateName()
Returns:
delegateName

getComment

public String getComment()
Returns:
comment

getRepositoryType

public String getRepositoryType()
Returns:
repositoryType name

getTypeId

public String getTypeId()
Returns:
typeId

install

public boolean install()
Returns:
boolean