org.hawk.module
Class ModuleExecutor

java.lang.Object
  extended by org.hawk.module.ModuleExecutor

public class ModuleExecutor
extends java.lang.Object


Method Summary
 boolean execute()
          This is the entry point when hawk is run in property mode.
 Variable executeModule(IModule module, java.lang.String subTask)
          This executes the subtask of a module.
 boolean finishHawk()
          This flushes all the in-memory performance data to the perf file and then starts processing it.
static ModuleExecutor getInstance()
          SingleTon accessor method of ModuleExecutor
static void main(java.lang.String[] args)
          main method when hawk is run in property mode.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getInstance

public static ModuleExecutor getInstance()
SingleTon accessor method of ModuleExecutor

Returns:

main

public static void main(java.lang.String[] args)
main method when hawk is run in property mode.

Parameters:
args -

execute

public boolean execute()
                throws HawkException
This is the entry point when hawk is run in property mode.

Returns:
Throws:
HawkException

finishHawk

public boolean finishHawk()
This flushes all the in-memory performance data to the perf file and then starts processing it.

Returns:
returns true on success.
See Also:
HawkPlotter

executeModule

public Variable executeModule(IModule module,
                              java.lang.String subTask)
                       throws HawkException
This executes the subtask of a module.

Parameters:
module - the module containing subtask
subTask - subtask to be executed.
Returns:
returns result as hawk
Throws:
HawkException