Index
All Classes and Interfaces|All Packages
A
- add(File) - Method in class de.poiu.coat.example.ImmutableAppConfig.Builder
-
Add the config entries from the given file to the built ImmutableAppConfig.
- add(File) - Method in class de.poiu.coat.example.ImmutableMqttConfig.Builder
-
Add the config entries from the given file to the built ImmutableMqttConfig.
- add(Map<String, String>) - Method in class de.poiu.coat.example.ImmutableAppConfig.Builder
-
Add the config entries from the given Map to the built ImmutableAppConfig.
- add(Map<String, String>) - Method in class de.poiu.coat.example.ImmutableMqttConfig.Builder
-
Add the config entries from the given Map to the built ImmutableMqttConfig.
- add(Properties) - Method in class de.poiu.coat.example.ImmutableAppConfig.Builder
-
Add the config entries from the given Properties to the built ImmutableAppConfig.
- add(Properties) - Method in class de.poiu.coat.example.ImmutableMqttConfig.Builder
-
Add the config entries from the given Properties to the built ImmutableMqttConfig.
- addEnvVars() - Method in class de.poiu.coat.example.ImmutableAppConfig.Builder
-
Add the config entries from the current environment variables to the built ImmutableAppConfig.
- addEnvVars() - Method in class de.poiu.coat.example.ImmutableMqttConfig.Builder
-
Add the config entries from the current environment variables to the built ImmutableMqttConfig.
- AppConfig - Interface in de.poiu.coat.example
-
Main configuration for the example application.
- AppConfigParam - Enum in de.poiu.coat.example
B
- build() - Method in class de.poiu.coat.example.ImmutableAppConfig.Builder
-
Build a new
ImmutableAppConfigwith the config keys from this Builder. - build() - Method in class de.poiu.coat.example.ImmutableMqttConfig.Builder
-
Build a new
ImmutableMqttConfigwith the config keys from this Builder. - builder() - Static method in class de.poiu.coat.example.ImmutableAppConfig
-
Create a builder for
ImmutableAppConfiginstances. - builder() - Static method in class de.poiu.coat.example.ImmutableMqttConfig
-
Create a builder for
ImmutableMqttConfiginstances. - Builder() - Constructor for class de.poiu.coat.example.ImmutableAppConfig.Builder
- Builder() - Constructor for class de.poiu.coat.example.ImmutableMqttConfig.Builder
C
- collectionType() - Method in enum de.poiu.coat.example.AppConfigParam
- collectionType() - Method in enum de.poiu.coat.example.MqttConfigParam
- connect() - Method in class de.poiu.coat.example.mqtt.DummyMqttClient
-
Connect to the MQTT broker.
- converter() - Method in enum de.poiu.coat.example.AppConfigParam
- converter() - Method in enum de.poiu.coat.example.MqttConfigParam
D
- de.poiu.coat.example - package de.poiu.coat.example
- de.poiu.coat.example.mqtt - package de.poiu.coat.example.mqtt
- defaultValue() - Method in enum de.poiu.coat.example.AppConfigParam
- defaultValue() - Method in enum de.poiu.coat.example.MqttConfigParam
- DummyMqttClient - Class in de.poiu.coat.example.mqtt
-
A dummy MQTT client for demonstration purposes.
- DummyMqttClient(InetAddress[], int) - Constructor for class de.poiu.coat.example.mqtt.DummyMqttClient
-
Create a new DummyMqttClient that connects to the specified address(es) and port.
E
- equals(Object) - Method in class de.poiu.coat.example.ImmutableAppConfig
- equals(Object) - Method in class de.poiu.coat.example.ImmutableMqttConfig
- ExampleApp - Class in de.poiu.coat.example
-
A very simple example app to demonstrate the usage of Coat.
- ExampleApp() - Constructor for class de.poiu.coat.example.ExampleApp
F
- from(File) - Static method in class de.poiu.coat.example.ImmutableAppConfig
-
Create a new ImmutableAppConfig from the given config file.
- from(File) - Static method in class de.poiu.coat.example.ImmutableMqttConfig
-
Create a new ImmutableMqttConfig from the given config file.
- from(Map<String, String>) - Static method in class de.poiu.coat.example.ImmutableAppConfig
-
Create a new ImmutableAppConfig from the given config entries.
- from(Map<String, String>) - Static method in class de.poiu.coat.example.ImmutableMqttConfig
-
Create a new ImmutableMqttConfig from the given config entries.
- from(Properties) - Static method in class de.poiu.coat.example.ImmutableAppConfig
-
Create a new ImmutableAppConfig from the given config entries.
- from(Properties) - Static method in class de.poiu.coat.example.ImmutableMqttConfig
-
Create a new ImmutableMqttConfig from the given config entries.
- fromEnvVars() - Static method in class de.poiu.coat.example.ImmutableAppConfig
-
Create a new ImmutableAppConfig from the current environment variables.
- fromEnvVars() - Static method in class de.poiu.coat.example.ImmutableMqttConfig
-
Create a new ImmutableMqttConfig from the current environment variables.
G
- GET_BROKER_ADDRESSES - Enum constant in enum de.poiu.coat.example.MqttConfigParam
-
The address(es) of the MQTT broker.
- GET_CLIENT_ID - Enum constant in enum de.poiu.coat.example.MqttConfigParam
-
The clientId to send to the MQTT broker.
- GET_DESCRIPTION - Enum constant in enum de.poiu.coat.example.AppConfigParam
-
A short description of the purpose of this application.
- GET_LISTEN_ADDRESS - Enum constant in enum de.poiu.coat.example.AppConfigParam
-
The interfaces to listen on for incoming connections.
- GET_LISTEN_PORT - Enum constant in enum de.poiu.coat.example.AppConfigParam
-
The port to listen on for incoming connections.
- GET_NAME - Enum constant in enum de.poiu.coat.example.AppConfigParam
-
A shorthand name for this application.
- GET_PORT - Enum constant in enum de.poiu.coat.example.MqttConfigParam
-
The port to communicate with the MQTT broker.
- getBrokerAddresses() - Method in class de.poiu.coat.example.ImmutableMqttConfig
-
The address(es) of the MQTT broker.
- getBrokerAddresses() - Method in interface de.poiu.coat.example.MqttConfig
-
The address(es) of the MQTT broker.
- getClientId() - Method in class de.poiu.coat.example.ImmutableMqttConfig
-
The clientId to send to the MQTT broker.
- getClientId() - Method in interface de.poiu.coat.example.MqttConfig
-
The clientId to send to the MQTT broker.
- getDescription() - Method in interface de.poiu.coat.example.AppConfig
-
A short description of the purpose of this application.
- getDescription() - Method in class de.poiu.coat.example.ImmutableAppConfig
-
A short description of the purpose of this application.
- getListenAddress() - Method in interface de.poiu.coat.example.AppConfig
-
The interfaces to listen on for incoming connections.
- getListenAddress() - Method in class de.poiu.coat.example.ImmutableAppConfig
-
The interfaces to listen on for incoming connections.
- getListenPort() - Method in interface de.poiu.coat.example.AppConfig
-
The port to listen on for incoming connections.
- getListenPort() - Method in class de.poiu.coat.example.ImmutableAppConfig
-
The port to listen on for incoming connections.
- getName() - Method in interface de.poiu.coat.example.AppConfig
-
A shorthand name for this application.
- getName() - Method in class de.poiu.coat.example.ImmutableAppConfig
-
A shorthand name for this application.
- getPort() - Method in class de.poiu.coat.example.ImmutableMqttConfig
-
The port to communicate with the MQTT broker.
- getPort() - Method in interface de.poiu.coat.example.MqttConfig
-
The port to communicate with the MQTT broker.
H
- hashCode() - Method in class de.poiu.coat.example.ImmutableAppConfig
- hashCode() - Method in class de.poiu.coat.example.ImmutableMqttConfig
I
- ImmutableAppConfig - Class in de.poiu.coat.example
- ImmutableAppConfig.Builder - Class in de.poiu.coat.example
-
Builder class for creating new
ImmutableAppConfiginstances. - ImmutableMqttConfig - Class in de.poiu.coat.example
- ImmutableMqttConfig.Builder - Class in de.poiu.coat.example
-
Builder class for creating new
ImmutableMqttConfiginstances.
K
- key() - Method in enum de.poiu.coat.example.AppConfigParam
- key() - Method in enum de.poiu.coat.example.MqttConfigParam
L
- listParser() - Method in enum de.poiu.coat.example.AppConfigParam
- listParser() - Method in enum de.poiu.coat.example.MqttConfigParam
M
- main(String[]) - Static method in class de.poiu.coat.example.ExampleApp
- mandatory() - Method in enum de.poiu.coat.example.AppConfigParam
- mandatory() - Method in enum de.poiu.coat.example.MqttConfigParam
- mqtt() - Method in interface de.poiu.coat.example.AppConfig
-
The configuration for the MQTT connection
- mqtt() - Method in class de.poiu.coat.example.ImmutableAppConfig
-
The configuration for the MQTT connection
- MqttConfig - Interface in de.poiu.coat.example
-
MQTT Client configuration
- MqttConfigParam - Enum in de.poiu.coat.example
P
- password() - Method in class de.poiu.coat.example.ImmutableMqttConfig
-
The password to connect to the MQTT broker.
- password() - Method in interface de.poiu.coat.example.MqttConfig
-
The password to connect to the MQTT broker.
- PASSWORD - Enum constant in enum de.poiu.coat.example.MqttConfigParam
-
The password to connect to the MQTT broker.
S
- setClientId(String) - Method in class de.poiu.coat.example.mqtt.DummyMqttClient
-
Set a custom client ID for connecting to the MQTT broker.
- setPassword(String) - Method in class de.poiu.coat.example.mqtt.DummyMqttClient
-
Set the password to connect to the MQTT broker.
- setUsername(String) - Method in class de.poiu.coat.example.mqtt.DummyMqttClient
-
Set the username to connect to the MQTT broker.
T
- type() - Method in enum de.poiu.coat.example.AppConfigParam
- type() - Method in enum de.poiu.coat.example.MqttConfigParam
U
- username() - Method in class de.poiu.coat.example.ImmutableMqttConfig
-
The username to connect to the MQTT broker.
- username() - Method in interface de.poiu.coat.example.MqttConfig
-
The username to connect to the MQTT broker.
- USERNAME - Enum constant in enum de.poiu.coat.example.MqttConfigParam
-
The username to connect to the MQTT broker.
V
- valueOf(String) - Static method in enum de.poiu.coat.example.AppConfigParam
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum de.poiu.coat.example.MqttConfigParam
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum de.poiu.coat.example.AppConfigParam
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum de.poiu.coat.example.MqttConfigParam
-
Returns an array containing the constants of this enum type, in the order they are declared.
W
- writeExampleConfig(Writer) - Static method in class de.poiu.coat.example.ImmutableAppConfig
-
Write an example config file to the given Writer.
- writeExampleConfig(Writer) - Static method in class de.poiu.coat.example.ImmutableMqttConfig
-
Write an example config file to the given Writer.
All Classes and Interfaces|All Packages