|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface StepExecutionContext
Defines a set of methods that a step uses to communicate with its execution engine, e.g. to write to the log file.
| Method Summary | |
|---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Returns the step execution context attribute with the given name, or null if there is no attribute by that name. |
void |
logError(java.lang.String error)
Logs a line of error output. |
void |
logOutput(java.lang.String output)
Logs a line of output. |
void |
setAttribute(java.lang.String name,
java.lang.Object object)
Stores an attribute in the step execution context. |
| Method Detail |
|---|
void logOutput(java.lang.String output)
standard output stream.
output - the log line to be written to a destination.void logError(java.lang.String error)
standard error stream.
error - the error to be written to a destination.java.lang.Object getAttribute(java.lang.String name)
name - the name of the attribute
void setAttribute(java.lang.String name,
java.lang.Object object)
name - the name of the attributeobject - the vaule of the attribute
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||