public abstract class AbstractReturnCodeExtractor extends AbstractBaseExtractor
Constructor and Description |
---|
AbstractReturnCodeExtractor(String id) |
Modifier and Type | Method and Description |
---|---|
protected void |
doProcess(ExecutionResult result)
Process the execution result as input.
|
protected abstract void |
handleReturnCode(int rc) |
createInput, fillNoError, process, register, setError, unregister
public AbstractReturnCodeExtractor(String id)
protected abstract void handleReturnCode(int rc)
protected void doProcess(ExecutionResult result) throws Exception
AbstractBaseExtractor
This method will only be called if no execution error occurred. Otherwise the error flags of all data items are automatically set.
This method must apply the attributes from AbstractBaseExtractor.fillNoError(Map)
when
updating items. This is needed since applying them afterwards would cause
two updates on the dataitem and the state would by async to the value
itself.
doProcess
in class AbstractBaseExtractor
result
- the execution result that has to be processesException
- if anything goes wrong