public abstract class TrelloApiWriter extends IntegrationWriter
DataEndpoint.State
Modifier and Type | Field and Description |
---|---|
protected TrelloStub |
trelloStub |
lastRecord, PRODUCT, PRODUCT_VERSION, VENDOR, XML_INPUT_FACTORY_KEY
BUFFER_SIZE, captureElapsedTime, DEFAULT_READ_BUFFER_SIZE
id, log, name, TIMESTAMP_FORMAT
Constructor and Description |
---|
TrelloApiWriter(String apiKey,
String apiToken) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Indicates that this endpoint has finished reading or writing.
|
void |
open()
Makes this endpoint ready for reading or writing.
|
protected void |
writeImpl(Record record)
Overridden by subclasses to write the specified record to this
DataWriter . |
protected abstract void |
writeImpl(Record record,
TrelloClient trelloClient) |
addExceptionProperties, available, getNestedEndpoint, getNestedWriter, getRootEndpoint, getRootWriter, write
decrementRecordCount, enableJmx, getLastRecord, getRecordCount, getRecordCountAsBigInteger, getRecordCountAsString, incrementRecordCount, isRecordCountBigInteger, resetRecordCount, toString
addElapsedtime, assertClosed, assertNotOpened, assertOpened, finalize, getClosedOn, getDescription, getElapsedTime, getElapsedTimeAsString, getOpenedOn, getOpenElapsedTime, getOpenElapsedTimeAsString, getSelfTime, getSelfTimeAsString, getState, isCaptureElapsedTime, isClosed, isOpen, setCaptureElapsedTime, setDescription
public void open() throws DataException
DataEndpoint
open
in class IntegrationWriter
DataException
public void close() throws DataException
DataEndpoint
close
in class DataEndpoint
DataException
protected final void writeImpl(Record record) throws Throwable
DataWriter
DataWriter
.writeImpl
in class DataWriter
Throwable
Copyright (c) 2006-2024 North Concepts Inc. All Rights Reserved.