org.hawk.module.task
Class SubTaskContainer

java.lang.Object
  extended by org.hawk.module.task.SubTaskContainer
All Implemented Interfaces:
java.lang.Comparable

public class SubTaskContainer
extends java.lang.Object
implements java.lang.Comparable

This contains tasks under a particular module.

See Also:
ModuleExecutor, ScriptInterpreter

Constructor Summary
SubTaskContainer()
           
 
Method Summary
 boolean addParam(java.lang.Object param)
           
 boolean clearParams()
           
 int compareTo(java.lang.Object o)
           
 Variable execute()
          Besides from executing subtask it collects it's execution time which in turn helps plotting the graph.
 IModule getModule()
           
 java.lang.Object[] getParams()
           
 int getSequence()
           
 int getTaskIteration()
           
 java.lang.reflect.Method getTaskMethod()
           
 java.lang.String getTaskName()
           
 boolean isIgnoreException()
           
 void setIgnoreException(boolean ignoreException)
           
 void setModule(IModule module)
           
 void setModule(java.lang.String moduleName)
           
 void setParams(java.util.List<java.lang.Object> params)
           
 void setSequence(int sequence)
           
 void setTaskIteration(int taskIteration)
           
 void setTaskMethod(java.lang.reflect.Method taskMethod)
           
 void setTaskName(java.lang.String taskName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubTaskContainer

public SubTaskContainer()
Method Detail

getParams

public java.lang.Object[] getParams()

setParams

public void setParams(java.util.List<java.lang.Object> params)

addParam

public boolean addParam(java.lang.Object param)

clearParams

public boolean clearParams()

isIgnoreException

public boolean isIgnoreException()

setIgnoreException

public void setIgnoreException(boolean ignoreException)

getModule

public IModule getModule()

setModule

public void setModule(IModule module)

setModule

public void setModule(java.lang.String moduleName)

execute

public Variable execute()
                 throws HawkException
Besides from executing subtask it collects it's execution time which in turn helps plotting the graph.

Returns:
Throws:
HawkException
See Also:
HawkPerfDataCollector

getSequence

public int getSequence()

setSequence

public void setSequence(int sequence)

getTaskName

public java.lang.String getTaskName()

setTaskName

public void setTaskName(java.lang.String taskName)

getTaskMethod

public java.lang.reflect.Method getTaskMethod()

setTaskMethod

public void setTaskMethod(java.lang.reflect.Method taskMethod)

getTaskIteration

public int getTaskIteration()

setTaskIteration

public void setTaskIteration(int taskIteration)

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable