@Deprecated
public interface ExecutionContext
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getAttribute(java.lang.String name)
Deprecated.
Returns the execution context attribute with the given name, or null if there is no attribute by that name.
|
void |
logError(java.lang.String error)
Deprecated.
Logs a line of error output.
|
void |
logError(java.lang.String error,
java.lang.Throwable t)
Deprecated.
Logs a line and an exception to the error output .
|
void |
logOutput(java.lang.String output)
Deprecated.
Logs a line of output.
|
void |
setAttribute(java.lang.String name,
java.lang.Object value)
Deprecated.
Stores an attribute in the execution context.
|
void logOutput(java.lang.String output)
standard output stream
.output
- the log line to be written.void logError(java.lang.String error)
standard error stream
.error
- the error line to be written.void logError(java.lang.String error, java.lang.Throwable t)
error
- the error to be written.t
- the exception to be logged toojava.lang.Object getAttribute(java.lang.String name)
name
- the name of the attributevoid setAttribute(java.lang.String name, java.lang.Object value)
name
- the name of the attributevalue
- the value of the attribute