public interface ConnectorResult extends Closeable
OperationResponse
after the execution of a connector
Operation
. The general expectation for implementing classes is that closing the result (Closeable.close()
and
any payloads returned by getPayloads()
will release all resources managed by the result.Modifier and Type | Method and Description |
---|---|
Iterable<? extends Payload> |
getPayloads()
Returns a payload iterable representing the outputs for this result.
|
ConnectorStatus |
getStatus()
Returns status of the result
|
ConnectorStatus getStatus()
ConnectorStatus
Iterable<? extends Payload> getPayloads() throws IOException
IOException