|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.slamd.scripting.engine.Instruction
This class defines a generic instruction that can be executed as part of an LDAP script.
| Constructor Summary | |
Instruction(int lineNumber)
Creates a new instruction. |
|
| Method Summary | |
abstract void |
debugExecute(JobClass jobThread)
Performs the function associated with this instruction, writing debug information about its execution to the client's message writer using the writeVerbose method. |
abstract void |
execute(JobClass jobThread)
Performs the function associated with this instruction. |
int |
getLineNumber()
Retrieves the line number on which this instruction starts in the script. |
java.lang.String |
toString()
Retrieves a string representation of this instruction as could be found in a script file. |
abstract java.lang.String |
toString(int indent)
Retrieves a string representation of this instruction as could be found in a script file. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public Instruction(int lineNumber)
lineNumber - The line number of the script on which the instruction
starts.| Method Detail |
public int getLineNumber()
public abstract void execute(JobClass jobThread)
throws ScriptException
jobThread - The job thread that will be executing the script.
ScriptException - If a problem occurs while processing this
instruction.
public abstract void debugExecute(JobClass jobThread)
throws ScriptException
writeVerbose method.
jobThread - The job thread that will be executing the script.
ScriptException - If a problem occurs while processing this
instruction.public java.lang.String toString()
public abstract java.lang.String toString(int indent)
indent - The number of spaces to indent the output.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||