@ThreadSafe public final class PipeEngineRequest extends PipeRequest
PipeRequest.LogLevel
Modifier and Type | Field and Description |
---|---|
static int |
REQUEST_FORMAT_VERSION
The request format version.
|
DEBUG_LEVEL, ERROR_LEVEL, FATAL_LEVEL, INFO_LEVEL, LINE_SEPARATOR, SPACE_PATTERN, TRACE_LEVEL, WARN_LEVEL
Modifier and Type | Method and Description |
---|---|
void |
addResult(PointValue result)
Adds a result.
|
void |
clearResults()
Clears the results.
|
PointValue[] |
getInputs()
Gets the inputs.
|
String[] |
getPointParams()
Gets the Point params.
|
PointValue |
getResult()
Gets the result.
|
String[] |
getTransformParams()
Gets the Transform params.
|
static Optional<PipeEngineRequest> |
nextRequest()
Returns the next request.
|
void |
respond()
Responds to this request.
|
void |
setResultState(Serializable state)
Sets the state of the result.
|
void |
setResultValue(Serializable value)
Sets the value of the result.
|
cleanString, debug, debug, error, error, fatal, fatal, firstLine, getRequestID, getVersion, info, info, log, log, nextLine, nextPointValue, parseInt, pointValueToString, stringToPointValue, trace, trace, warn, warn, writeLine, writePointValue
public static final int REQUEST_FORMAT_VERSION
@Nonnull @CheckReturnValue public static Optional<PipeEngineRequest> nextRequest()
public void addResult(@Nonnull PointValue result)
result
- The result.public void clearResults()
@Nonnull @CheckReturnValue public PointValue[] getInputs()
@Nonnull @CheckReturnValue public String[] getPointParams()
@Nonnull @CheckReturnValue public PointValue getResult()
@Nonnull @CheckReturnValue public String[] getTransformParams()
public void respond()
public void setResultState(@Nullable Serializable state)
Note: must not be called after clearResults()
.
state
- The state of the result.public void setResultValue(@Nullable Serializable value)
Note: must not be called after clearResults()
.
value
- The value of the result.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.