|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.quattor.pan.statement.Statement
org.quattor.pan.statement.FunctionStatement
public class FunctionStatement
Associates a DML block to a given function name. A function may only be defined once during the construction of any given machine profile.
| Constructor Summary | |
|---|---|
FunctionStatement(SourceRange sourceRange,
java.lang.String name,
Operation function)
Creates a FunctionStatement which associates a name with a given DML block. |
|
| Method Summary | |
|---|---|
void |
execute(Context context)
Execute this Statement within the given context. |
java.lang.String |
getName()
Retrieve the name of the defined function. |
java.lang.String |
toString()
Return a reasonable string representation of this statement. |
| Methods inherited from class org.quattor.pan.statement.Statement |
|---|
getSourceRange |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public FunctionStatement(SourceRange sourceRange,
java.lang.String name,
Operation function)
sourceRange - source location of this statementname - name of the functionfunction - DML block for the function| Method Detail |
|---|
public java.lang.String getName()
public void execute(Context context)
Statement
execute in class Statementcontext - DML context to use for the evalution of this statementpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||