Skip navigation links
A B C D E F G H I J M O P R S T V 

A

attachments(JsonObject) - Method in class io.elastic.api.Message.Builder
Adds attachments to build message with.

B

body(JsonObject) - Method in class io.elastic.api.Message.Builder
Adds a body to build message with.
build() - Method in class io.elastic.api.EventEmitter.Builder
Builds an EventEmitter instance and returns it.
build() - Method in class io.elastic.api.ExecutionParameters.Builder
Builds a ExecutionParameters instance.
build() - Method in class io.elastic.api.HttpReply.Builder
 
build() - Method in class io.elastic.api.Message.Builder
Builds a Message instance and returns it.
Builder() - Constructor for class io.elastic.api.EventEmitter.Builder
 
Builder(Message, EventEmitter) - Constructor for class io.elastic.api.ExecutionParameters.Builder
Creates a ExecutionParameters.Builder instance.
Builder() - Constructor for class io.elastic.api.HttpReply.Builder
 
Builder() - Constructor for class io.elastic.api.Message.Builder
Default constructor.

C

configuration(JsonObject) - Method in class io.elastic.api.ExecutionParameters.Builder
Adds component's configuration.
content(InputStream) - Method in class io.elastic.api.HttpReply.Builder
 
CredentialsVerifier - Interface in io.elastic.api
Interface to be implemented by components to verify user's credentials before they are persisted.

D

DynamicMetadataProvider - Interface in io.elastic.api
Interface to be implemented by components which want to provide dynamic metadata.

E

emitData(Message) - Method in class io.elastic.api.EventEmitter
Emits a Message.
emitException(Exception) - Method in class io.elastic.api.EventEmitter
Emits an Exception.
emitHttpReply(HttpReply) - Method in class io.elastic.api.EventEmitter
Emits the httpReply event.
emitRebound(Object) - Method in class io.elastic.api.EventEmitter
Emits the rebound event specifying a Object reason.
emitSnapshot(JsonObject) - Method in class io.elastic.api.EventEmitter
Emits JsonObject snapshot.
emitUpdateKeys(JsonObject) - Method in class io.elastic.api.EventEmitter
Emits the updateKeys event.
EventEmitter - Class in io.elastic.api
Used by a Module to communicate with the elastic.io runtime.
EventEmitter.Builder - Class in io.elastic.api
Used to build EventEmitter instances.
EventEmitter.Callback - Interface in io.elastic.api
This interface defines a callback to pass errors, data and snapshots to its callee.
execute(ExecutionParameters) - Method in interface io.elastic.api.Module
Executes this component with the given ExecutionParameters.
ExecutionParameters - Class in io.elastic.api
Represents parameters for a Module execution passed to Module.execute(ExecutionParameters).
ExecutionParameters.Builder - Class in io.elastic.api
Used to build ExecutionParameters instances.

F

fromStatusCode(int) - Static method in enum io.elastic.api.HttpReply.Status
Convert a numerical status code into the corresponding Status.

G

getAttachments() - Method in class io.elastic.api.Message
Returns message attachments.
getBody() - Method in class io.elastic.api.Message
Returns message body.
getConfiguration() - Method in class io.elastic.api.ExecutionParameters
Returns component's configuration.
getContent() - Method in class io.elastic.api.HttpReply
 
getEventEmitter() - Method in class io.elastic.api.ExecutionParameters
 
getHeaders() - Method in class io.elastic.api.HttpReply
 
getHeaders() - Method in class io.elastic.api.Message
Returns message headers.
getId() - Method in class io.elastic.api.Message
Returns message id.
getMessage() - Method in class io.elastic.api.ExecutionParameters
Returns Message for the component.
getMetaModel(JsonObject) - Method in interface io.elastic.api.DynamicMetadataProvider
Allows a component to provide dynamic metadata.
getPassthrough() - Method in class io.elastic.api.Message
Returns message passthrough.
getReason() - Method in enum io.elastic.api.HttpReply.Status
Get the reason phrase.
getSelectModel(JsonObject) - Method in interface io.elastic.api.SelectModelProvider
Allows a component to dynamically populate select boxes.
getSnapshot() - Method in class io.elastic.api.ExecutionParameters
Returns component's snapshot.
getStatus() - Method in class io.elastic.api.HttpReply
 
getStatusCode() - Method in enum io.elastic.api.HttpReply.Status
Get the associated status code.

H

header(String, String) - Method in class io.elastic.api.HttpReply.Builder
 
headers(JsonObject) - Method in class io.elastic.api.Message.Builder
Adds a headers to build message with.
HttpReply - Class in io.elastic.api
 
HttpReply.Builder - Class in io.elastic.api
 
HttpReply.Status - Enum in io.elastic.api
 

I

id(UUID) - Method in class io.elastic.api.Message.Builder
Sets message id.
init(JsonObject) - Method in interface io.elastic.api.Module
Used to initialize a component before message processing.
InvalidCredentialsException - Exception in io.elastic.api
Thrown by CredentialsVerifier.verify(JsonObject) when authentication credentials are invalid.
InvalidCredentialsException() - Constructor for exception io.elastic.api.InvalidCredentialsException
Creates a new InvalidCredentialsException with a null detail message.
InvalidCredentialsException(String) - Constructor for exception io.elastic.api.InvalidCredentialsException
Creates a new InvalidCredentialsException with the specified message.
InvalidCredentialsException(String, Throwable) - Constructor for exception io.elastic.api.InvalidCredentialsException
Creates a new InvalidCredentialsException with the specified detail message and cause.
io.elastic.api - package io.elastic.api
 

J

JSON - Class in io.elastic.api
JSON utilities.

M

Message - Class in io.elastic.api
Message to be processed by a Module.
Message.Builder - Class in io.elastic.api
Used to build Message instances.
Module - Interface in io.elastic.api
A component is an unit implementing a custom business logic to be executed in the elastic.io runtime.

O

onData(EventEmitter.Callback) - Method in class io.elastic.api.EventEmitter.Builder
onError(EventEmitter.Callback) - Method in class io.elastic.api.EventEmitter.Builder
FOR INTERNAL USE ONLY.
onHttpReplyCallback(EventEmitter.Callback) - Method in class io.elastic.api.EventEmitter.Builder
Adds 'httpReply' EventEmitter.Callback.
onRebound(EventEmitter.Callback) - Method in class io.elastic.api.EventEmitter.Builder
Adds 'rebound' EventEmitter.Callback.
onSnapshot(EventEmitter.Callback) - Method in class io.elastic.api.EventEmitter.Builder
Adds 'snapshot' EventEmitter.Callback.
onUpdateKeys(EventEmitter.Callback) - Method in class io.elastic.api.EventEmitter.Builder
Adds 'updateAccessToken' EventEmitter.Callback.

P

parseArray(String) - Static method in class io.elastic.api.JSON
Parses a String into a JsonArray.
parseObject(String) - Static method in class io.elastic.api.JSON
Parses a String into a JsonObject.
passthrough(JsonObject) - Method in class io.elastic.api.Message.Builder
Adds passthrough to build message with.
PROPERTY_ATTACHMENTS - Static variable in class io.elastic.api.Message
 
PROPERTY_BODY - Static variable in class io.elastic.api.Message
 
PROPERTY_HEADERS - Static variable in class io.elastic.api.Message
 
PROPERTY_ID - Static variable in class io.elastic.api.Message
 
PROPERTY_PASSTHROUGH - Static variable in class io.elastic.api.Message
 

R

receive(Object) - Method in interface io.elastic.api.EventEmitter.Callback
Invoked to pass errors, data and snapshots asynchronously.

S

SelectModelProvider - Interface in io.elastic.api
Interface to be implemented by components which want to provide select model.
snapshot(JsonObject) - Method in class io.elastic.api.ExecutionParameters.Builder
Adds component's snapshot.
startup(JsonObject) - Method in interface io.elastic.api.Module
Used to initialize the component on flow start.
status(int) - Method in class io.elastic.api.HttpReply.Builder
 
status(HttpReply.Status) - Method in class io.elastic.api.HttpReply.Builder
 
stringify(JsonObject) - Static method in class io.elastic.api.JSON
Writes a JsonObject into a String and returns it.

T

toJsonObject() - Method in class io.elastic.api.Message
Returns this message as JsonObject.
toString() - Method in class io.elastic.api.ExecutionParameters
 
toString() - Method in enum io.elastic.api.HttpReply.Status
 
toString() - Method in class io.elastic.api.HttpReply
 
toString() - Method in class io.elastic.api.Message
 

V

valueOf(String) - Static method in enum io.elastic.api.HttpReply.Status
Returns the enum constant of this type with the specified name.
values() - Static method in enum io.elastic.api.HttpReply.Status
Returns an array containing the constants of this enum type, in the order they are declared.
verify(JsonObject) - Method in interface io.elastic.api.CredentialsVerifier
Performs the verification credentials in the given configuration.
A B C D E F G H I J M O P R S T V 
Skip navigation links