org.hawk.module.task
Class SubTaskContainer
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SubTaskContainer
public SubTaskContainer()
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