Package com.boomi.connector.api.result
Interface ConnectorResult
-
- All Superinterfaces:
AutoCloseable
,Closeable
- All Known Implementing Classes:
BaseCloseableConnectorResult
,BaseConnectorResult
,SimpleConnectorResult
public interface ConnectorResult extends Closeable
Abstraction for a result that can be added to anOperationResponse
after the execution of a connectorOperation
. The general expectation for implementing classes is that closing the result (Closeable.close()
and any payloads returned bygetPayloads()
will release all resources managed by the result.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Iterable<? extends Payload>
getPayloads()
Returns a payload iterable representing the outputs for this result.ConnectorStatus
getStatus()
Returns status of the result
-
-
-
Method Detail
-
getStatus
ConnectorStatus getStatus()
Returns status of the result- Returns:
- the
ConnectorStatus
-
getPayloads
Iterable<? extends Payload> getPayloads() throws IOException
Returns a payload iterable representing the outputs for this result.- Returns:
- the payloads
- Throws:
IOException
-
-