Package de.poiu.coat.example
Class ImmutableMqttConfig
java.lang.Object
de.poiu.coat.CoatConfig
de.poiu.coat.example.ImmutableMqttConfig
- All Implemented Interfaces:
MqttConfig
@Generated(value="de.poiu.coat.processor.CoatProcessor",
date="2023-05-31T22:45:17.341325747+02:00")
public class ImmutableMqttConfig
extends CoatConfig
implements MqttConfig
-
Constructor Summary
ConstructorsConstructorDescriptionImmutableMqttConfig(File file) ImmutableMqttConfig(Map<String, String> props) ImmutableMqttConfig(Properties props) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe address(es) of the MQTT broker.The getClientId to send to the MQTT broker.intgetPort()The getPort to communicate with the MQTT broker.inthashCode()password()The password to connect to the MQTT broker.username()The username to connect to the MQTT broker.static voidwriteExampleConfig(BufferedWriter writer) static voidwriteExampleConfig(Writer writer) Methods inherited from class de.poiu.coat.CoatConfig
filterByAndStripPrefix, get, get, getArray, getArrayOrDefault, getBoolean, getBooleanOrDefault, getDouble, getDoubleOrDefault, getInt, getIntOrDefault, getList, getListOrDefault, getLong, getLongOrDefault, getOptional, getOptionalDouble, getOptionalDoubleOrDefault, getOptionalInt, getOptionalIntOrDefault, getOptionalLong, getOptionalLongOrDefault, getOptionalOrDefault, getOptionalString, getOrDefault, getSet, getSetOrDefault, getString, getStringOrDefault, hasPrefix, registerConverter, registerCustomConverter, registerEmbeddedConfig, registerListParser, toMap, toMap, toString, validate
-
Constructor Details
-
ImmutableMqttConfig
- Throws:
IOException
-
ImmutableMqttConfig
-
ImmutableMqttConfig
-
-
Method Details
-
getClientId
The getClientId to send to the MQTT broker.- Specified by:
getClientIdin interfaceMqttConfig
-
getBrokerAddresses
The address(es) of the MQTT broker.- Specified by:
getBrokerAddressesin interfaceMqttConfig
-
getPort
public int getPort()The getPort to communicate with the MQTT broker.- Specified by:
getPortin interfaceMqttConfig
-
username
The username to connect to the MQTT broker.- Specified by:
usernamein interfaceMqttConfig
-
password
The password to connect to the MQTT broker.- Specified by:
passwordin interfaceMqttConfig
-
equals
-
hashCode
public int hashCode() -
writeExampleConfig
- Throws:
IOException
-
writeExampleConfig
- Throws:
IOException
-