org.hawk.module.lib
Class SystemModule
java.lang.Object
org.hawk.module.lib.SystemModule
- All Implemented Interfaces:
- IModule
public class SystemModule
- extends java.lang.Object
- implements IModule
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SystemModule
public SystemModule()
getFunctionStack
public static java.lang.ThreadLocal<Stack<FunctionScript.FunctionInvocationInfo>> getFunctionStack()
startUp
public boolean startUp()
- Description copied from interface:
IModule
- The target application's main module needs to implement it
for its initialization.
- Specified by:
startUp
in interface IModule
- Returns:
reset
public boolean reset()
- Description copied from interface:
IModule
- This resets one cycle of execution.
This is useful when hawk is run in property mode.
- Specified by:
reset
in interface IModule
- Returns:
execute
public java.lang.String execute(java.lang.Object... args)
throws java.lang.Exception
- Throws:
java.lang.Exception
dumpFunctionStack
public java.lang.String dumpFunctionStack(java.lang.Object... args)
throws java.lang.Exception
- Throws:
java.lang.Exception
currentTime
public long currentTime(java.lang.Object... args)
throws java.lang.Exception
- Throws:
java.lang.Exception
length
public int length(java.lang.Object... args)
throws java.lang.Exception
- Throws:
java.lang.Exception
sort
public boolean sort(java.lang.Object... args)
throws java.lang.Exception
- Throws:
java.lang.Exception