public class InstrumentScript
extends java.lang.Object
implements java.io.Serializable
| Modifier and Type | Class and Description |
|---|---|
static class |
InstrumentScript.InstrumentScriptLanguage |
static class |
InstrumentScript.InstrumentScriptType |
| Constructor and Description |
|---|
InstrumentScript(java.lang.String name,
InstrumentScript.InstrumentScriptLanguage language,
InstrumentScript.InstrumentScriptType type,
java.lang.String content) |
| Modifier and Type | Method and Description |
|---|---|
void |
changeContent(java.lang.String newContent)
Change the script content ...
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getContent()
get the content of the type
|
java.lang.String |
getName()
Get the name of the script
|
InstrumentScript.InstrumentScriptLanguage |
getScriptLanguage()
get the type of script
|
InstrumentScript.InstrumentScriptType |
getType() |
java.lang.String |
toString() |
public InstrumentScript(java.lang.String name,
InstrumentScript.InstrumentScriptLanguage language,
InstrumentScript.InstrumentScriptType type,
java.lang.String content)
throws java.lang.Exception
java.lang.Exceptionpublic java.lang.String getName()
public java.lang.String getContent()
public void changeContent(java.lang.String newContent)
newContent - the new script contentpublic InstrumentScript.InstrumentScriptLanguage getScriptLanguage()
public InstrumentScript.InstrumentScriptType getType()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object