java.lang.Object
org.glassfish.grizzly.ProcessorResult
The interface represents the result of
Processor execution.- Author:
- Alexey Stashok
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumEnumeration represents the status/code ofProcessorResult. -
Method Summary
Modifier and TypeMethodDescriptionstatic ProcessorResultstatic ProcessorResultcreateComplete(Object data) static ProcessorResultstatic ProcessorResultcreateError(Object description) static ProcessorResultstatic ProcessorResultstatic ProcessorResultcreateReregister(Context context) static ProcessorResultcreateRerun(Context context) static ProcessorResultgetData()Get theProcessorResultextra data.Get the result status.protected ProcessorResultprotected ProcessorResultsetStatus(ProcessorResult.Status status)
-
Method Details
-
createComplete
-
createComplete
-
createLeave
-
createReregister
-
createError
-
createError
-
createRerun
-
createTerminate
-
createNotRun
-
getStatus
Get the result status.- Returns:
- the result status.
-
setStatus
-
getData
Get theProcessorResultextra data.- Returns:
- the
ProcessorResultextra data.
-
setData
-