Class TaskInformation
- java.lang.Object
-
- fr.paris.lutece.plugins.workflow.modules.unittree.business.task.information.TaskInformation
-
public class TaskInformation extends java.lang.ObjectThis class represents information stored for a task
-
-
Constructor Summary
Constructors Constructor Description TaskInformation(int nIdHistory, int nIdTask)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(java.lang.String strKey, java.lang.String strValue)Adds a piece of informationjava.lang.Stringget(java.lang.String strKey)Gives the value of the piece of information with the specified keyintgetIdHistory()Gives the history idintgetIdTask()Gives the task idjava.util.Collection<java.lang.String>getKeys()Gives all the keys of the pieces of information
-
-
-
Method Detail
-
getIdHistory
public int getIdHistory()
Gives the history id- Returns:
- The history id
-
getIdTask
public int getIdTask()
Gives the task id- Returns:
- The task id
-
add
public void add(java.lang.String strKey, java.lang.String strValue)Adds a piece of information- Parameters:
strKey- the key of the piece of informationstrValue- the value of the piece of information
-
get
public java.lang.String get(java.lang.String strKey)
Gives the value of the piece of information with the specified key- Parameters:
strKey- the key- Returns:
- the value
-
getKeys
public java.util.Collection<java.lang.String> getKeys()
Gives all the keys of the pieces of information- Returns:
- a collection containing all the keys
-
-