|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.altair.hwm.beans.utils.HWMActionScript
public class HWMActionScript
Title: HWMActionScript
Description: Class that contains the script and script type. This script will be hooked to a bean & will be executed whenever the bean performs its action(s) Company: Altair Engineering, Inc.
Field Summary | |
---|---|
static java.lang.String |
SCRIPT_HWPM
Enumeration of the various script types |
static java.lang.String |
SCRIPT_TCL
|
Constructor Summary | |
---|---|
HWMActionScript()
Constructor |
Method Summary | |
---|---|
void |
ExecuteScript(java.lang.Object obj,
IHWMFrameWork hwmFrameWork)
Execute the script |
java.lang.String |
GetScript()
Get the script |
java.lang.String |
GetScriptInTCLFormat()
Get the script convereted into a TCL Script. |
java.lang.String |
GetScriptType()
Get the script type |
void |
readExternal(java.io.ObjectInput objInput)
Read the data |
void |
SetScript(java.lang.String strScript)
Set the script |
void |
SetScriptType(java.lang.String strScriptType)
Set the script type |
void |
writeExternal(java.io.ObjectOutput objOutput)
Save the data |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String SCRIPT_HWPM
public static final java.lang.String SCRIPT_TCL
Constructor Detail |
---|
public HWMActionScript()
Method Detail |
---|
public void SetScriptType(java.lang.String strScriptType)
strScriptType
- The Script Typepublic java.lang.String GetScriptType()
public void SetScript(java.lang.String strScript)
strScript
- The Scriptpublic java.lang.String GetScript()
public void ExecuteScript(java.lang.Object obj, IHWMFrameWork hwmFrameWork) throws java.lang.Exception
obj
- The object in whose scope, the script needs to be executedhwmFrameWork
- The framework handle
java.lang.Exception
public java.lang.String GetScriptInTCLFormat()
public void writeExternal(java.io.ObjectOutput objOutput) throws java.io.IOException
writeExternal
in interface java.io.Externalizable
java.io.IOException
public void readExternal(java.io.ObjectInput objInput) throws java.io.IOException, java.lang.ClassNotFoundException
readExternal
in interface java.io.Externalizable
java.io.IOException
java.lang.ClassNotFoundException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |