S
- the type of the closeable source objectpublic abstract class BaseCloseableConnectorResult<S extends Closeable> extends BaseConnectorResult<S>
ConnectorResult
based on a Closeable
"source" object.Modifier | Constructor and Description |
---|---|
protected |
BaseCloseableConnectorResult(S source)
Creates a new instance based on the provided "source" (required).
|
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the provided "source" object.
|
getSource
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getPayloads, getStatus
protected BaseCloseableConnectorResult(S source)
source
- the closeable source of the resultpublic void close() throws IOException
IOException