A B C D E F G I J M O P R S U V 

A

acknowledge(String, Event) - Method in interface io.getconnect.client.store.EventStore
Acknowledge a single event has been sent.
acknowledge(String, Event) - Method in class io.getconnect.client.store.FileEventStore
 
acknowledge(String, Event) - Method in class io.getconnect.client.store.MemoryEventStore
 
add(String, Map<String, Object>) - Method in class io.getconnect.client.ConnectClient
Add an event to the event store to be delivered later.
add(String, Event) - Method in interface io.getconnect.client.store.EventStore
Add a single event to the store.
add(String, Event) - Method in class io.getconnect.client.store.FileEventStore
 
add(String, Event) - Method in class io.getconnect.client.store.MemoryEventStore
 
API_BASE_URL - Static variable in class io.getconnect.client.ConnectAPI
 
apiKey - Variable in class io.getconnect.client.ConnectAPI
 

B

BadRequestException - Exception in io.getconnect.client.exceptions
 
BadRequestException() - Constructor for exception io.getconnect.client.exceptions.BadRequestException
 
BadRequestException(Throwable) - Constructor for exception io.getconnect.client.exceptions.BadRequestException
 
BadRequestException(String) - Constructor for exception io.getconnect.client.exceptions.BadRequestException
 
BadRequestException(String, Throwable) - Constructor for exception io.getconnect.client.exceptions.BadRequestException
 
buildEventBatch(Map<String, Map<String, Object>[]>) - Static method in class io.getconnect.client.Event
 
buildResponseForBatch(Map<String, Iterable<Event>>, Response) - Static method in class io.getconnect.client.ConnectAPI
 

C

client - Variable in class io.getconnect.client.ConnectAPI
 
ConnectAPI - Class in io.getconnect.client
API Client for pushing events to Connect API.
ConnectAPI(String, String) - Constructor for class io.getconnect.client.ConnectAPI
Creates a new Connect API client.
ConnectAPI(String, String, String) - Constructor for class io.getconnect.client.ConnectAPI
Creates a new Connect API client.
ConnectBatchCallback - Interface in io.getconnect.client
 
ConnectCallback - Interface in io.getconnect.client
 
ConnectClient - Class in io.getconnect.client
Client for pushing events to Connect.
ConnectClient(String, String, String, EventStore) - Constructor for class io.getconnect.client.ConnectClient
Creates a new Connect client.
ConnectException - Exception in io.getconnect.client.exceptions
Represents a generic Connect exception.
ConnectException() - Constructor for exception io.getconnect.client.exceptions.ConnectException
 
ConnectException(Throwable) - Constructor for exception io.getconnect.client.exceptions.ConnectException
 
ConnectException(String) - Constructor for exception io.getconnect.client.exceptions.ConnectException
 
ConnectException(String, Throwable) - Constructor for exception io.getconnect.client.exceptions.ConnectException
 
create(Map<String, String>) - Static method in exception io.getconnect.client.exceptions.InvalidEventException
 
createSerializer() - Static method in class io.getconnect.client.GsonUTCDateAdapter
 

D

deserialize(JsonElement, Type, JsonDeserializationContext) - Method in class io.getconnect.client.GsonUTCDateAdapter
 

E

Event - Class in io.getconnect.client
An object that contains the properties for events that are pushed to Connect.
Event(Map<String, Object>) - Constructor for class io.getconnect.client.Event
Create a new event to push to Connect.
eventData - Variable in class io.getconnect.client.Event
 
EventPushResponse - Class in io.getconnect.client
Response to a single event being pushed in a batch.
EventPushResponse(Map<String, Object>, Event) - Constructor for class io.getconnect.client.EventPushResponse
Create a response to an event push.
EventStore - Interface in io.getconnect.client.store
Interface for an object that can store events.
eventStoreId - Variable in class io.getconnect.client.Event
 
eventsUrl - Variable in class io.getconnect.client.ConnectAPI
 

F

FileEventStore - Class in io.getconnect.client.store
 
FileEventStore(String, File) - Constructor for class io.getconnect.client.store.FileEventStore
 
fromEventStore(String, String) - Static method in class io.getconnect.client.Event
 

G

generatePostRequest(String, String) - Method in class io.getconnect.client.ConnectAPI
 
getCollectionDir(String) - Method in class io.getconnect.client.store.FileEventStore
 
getDeserializedResponseBody(Response) - Static method in class io.getconnect.client.ConnectAPI
 
getEvent() - Method in class io.getconnect.client.EventPushResponse
Get the event that was pushed.
getEventData() - Method in class io.getconnect.client.Event
Get the properties of the event.
getEventJSON() - Method in class io.getconnect.client.Event
Get the properties of the event as a JSON string.
getEventStoreId() - Method in class io.getconnect.client.Event
Gets the ID used for storing the event in the event store.
getExceptionForBatchResponse(Response) - Static method in class io.getconnect.client.ConnectAPI
 
getExceptionForResponse(Response) - Static method in class io.getconnect.client.ConnectAPI
 
getId() - Method in class io.getconnect.client.Event
Get the ID of the event.
getJSONForEventBatch(Map<String, Iterable<Event>>) - Static method in class io.getconnect.client.Event
 
getMessage() - Method in class io.getconnect.client.EventPushResponse
The error message, if applicable, for the event push.
gson - Static variable in class io.getconnect.client.ConnectAPI
 
GsonUTCDateAdapter - Class in io.getconnect.client
 
GsonUTCDateAdapter() - Constructor for class io.getconnect.client.GsonUTCDateAdapter
 

I

InvalidEventException - Exception in io.getconnect.client.exceptions
Represents an exception when trying to create an event with invalid properties.
InvalidEventException() - Constructor for exception io.getconnect.client.exceptions.InvalidEventException
 
InvalidEventException(Throwable) - Constructor for exception io.getconnect.client.exceptions.InvalidEventException
 
InvalidEventException(String) - Constructor for exception io.getconnect.client.exceptions.InvalidEventException
 
InvalidEventException(String, Throwable) - Constructor for exception io.getconnect.client.exceptions.InvalidEventException
 
io.getconnect.client - package io.getconnect.client
 
io.getconnect.client.exceptions - package io.getconnect.client.exceptions
 
io.getconnect.client.store - package io.getconnect.client.store
 
isSuccessful() - Method in class io.getconnect.client.EventPushResponse
Whether or not the event push was successful.

J

JSON - Static variable in class io.getconnect.client.ConnectAPI
 

M

MemoryEventStore - Class in io.getconnect.client.store
 
MemoryEventStore() - Constructor for class io.getconnect.client.store.MemoryEventStore
 

O

onFailure(ConnectException) - Method in interface io.getconnect.client.ConnectBatchCallback
Called when a request to Connect has failed.
onFailure(ConnectException) - Method in interface io.getconnect.client.ConnectCallback
Called when a request to Connect has failed.
onSuccess(Map<String, Iterable<EventPushResponse>>) - Method in interface io.getconnect.client.ConnectBatchCallback
Called when a request to Connect has been successful.
onSuccess() - Method in interface io.getconnect.client.ConnectCallback
Called when a request to Connect has been successful.

P

projectId - Variable in class io.getconnect.client.ConnectAPI
 
push(String, Map<String, Object>) - Method in class io.getconnect.client.ConnectClient
Synchronously push an event to a collection in Connect.
pushAsync(String, Map<String, Object>, ConnectCallback) - Method in class io.getconnect.client.ConnectClient
Asynchronously Push an event to a collection in Connect.
pushBatch(Map<String, Map<String, Object>[]>) - Method in class io.getconnect.client.ConnectClient
Synchronously push a batch of events to Connect.
pushBatchAsync(Map<String, Map<String, Object>[]>, ConnectBatchCallback) - Method in class io.getconnect.client.ConnectClient
Asynchronously push a batch of events to Connect.
pushEvent(String, Event) - Method in class io.getconnect.client.ConnectAPI
Pushes a single event to the Connect API synchronously.
pushEvent(String, Event, ConnectCallback) - Method in class io.getconnect.client.ConnectAPI
Pushes a single event to the Connect API asynchronously.
pushEventBatch(Map<String, Iterable<Event>>) - Method in class io.getconnect.client.ConnectAPI
Pushes a batch of events to the Connect API synchronously.
pushEventBatch(Map<String, Iterable<Event>>, ConnectBatchCallback) - Method in class io.getconnect.client.ConnectAPI
Pushes a batch of events to the Connect API asynchronously.
pushPending() - Method in class io.getconnect.client.ConnectClient
Push the pending events stored to Connect synchronously.
pushPendingAsync(ConnectBatchCallback) - Method in class io.getconnect.client.ConnectClient
Push the pending events stored to Connect asynchronously.

R

read(String) - Method in interface io.getconnect.client.store.EventStore
Read all events for a specific collection.
read(String) - Method in class io.getconnect.client.store.FileEventStore
 
read(String) - Method in class io.getconnect.client.store.MemoryEventStore
 
readAll() - Method in interface io.getconnect.client.store.EventStore
Read all events in the store.
readAll() - Method in class io.getconnect.client.store.FileEventStore
 
readAll() - Method in class io.getconnect.client.store.MemoryEventStore
 
reservedPrefix - Variable in class io.getconnect.client.Event
 

S

serialize(Date, Type, JsonSerializationContext) - Method in class io.getconnect.client.GsonUTCDateAdapter
 
ServerException - Exception in io.getconnect.client.exceptions
Represents a general server exception.
ServerException() - Constructor for exception io.getconnect.client.exceptions.ServerException
 
ServerException(Throwable) - Constructor for exception io.getconnect.client.exceptions.ServerException
 
ServerException(String) - Constructor for exception io.getconnect.client.exceptions.ServerException
 
ServerException(String, Throwable) - Constructor for exception io.getconnect.client.exceptions.ServerException
 
setDefaultProperties() - Method in class io.getconnect.client.Event
 

U

updateStoreWithResponse(Map<String, Iterable<EventPushResponse>>) - Method in class io.getconnect.client.ConnectClient
 

V

validateProperties() - Method in class io.getconnect.client.Event
 
A B C D E F G I J M O P R S U V