public class TrelloCardWriter extends TrelloApiWriter
DataEndpoint.State
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 |
---|
TrelloCardWriter(String apiKey,
String apiToken) |
Modifier and Type | Method and Description |
---|---|
DataException |
addExceptionProperties(DataException exception)
Adds this endpoint's current state to a
DataException . |
String |
getDescriptionField() |
String |
getListIdField() |
String |
getNameField() |
TrelloCardWriter |
setDescriptionField(String descriptionField) |
TrelloCardWriter |
setListIdField(String listIdField) |
TrelloCardWriter |
setNameField(String nameField) |
protected void |
writeImpl(Record record,
TrelloClient trelloClient) |
close, open, writeImpl
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 String getListIdField()
public TrelloCardWriter setListIdField(String listIdField)
public String getNameField()
public TrelloCardWriter setNameField(String nameField)
public String getDescriptionField()
public TrelloCardWriter setDescriptionField(String descriptionField)
protected void writeImpl(Record record, TrelloClient trelloClient) throws Throwable
writeImpl
in class TrelloApiWriter
Throwable
public DataException addExceptionProperties(DataException exception)
Endpoint
DataException
. Since this method is called whenever an
exception is thrown, subclasses should override it to add their specific information.addExceptionProperties
in class DataWriter
Copyright (c) 2006-2023 North Concepts Inc. All Rights Reserved.