| Modifier and Type | Field and Description |
|---|---|
protected Module |
associatedModule |
| Constructor and Description |
|---|
AbstractScript(String scriptName) |
| Modifier and Type | Method and Description |
|---|---|
void |
addStatement(Statement statement)
Add statement to the script
|
Module |
getModule()
Get associated module
|
String |
getName()
Get script name
|
<T extends Statement> |
select(Class<? extends T> statementClass)
Select all statements assignable from the specified class
|
void |
setModule(Module module) |
protected Module associatedModule
public AbstractScript(String scriptName)
public <T extends Statement> List<T> select(Class<? extends T> statementClass)
Scriptpublic void addStatement(Statement statement)
ScriptaddStatement in interface Scriptstatement - the statement to addpublic void setModule(Module module)
Copyright © 2020. All rights reserved.