Package de.poiu.coat.example
Class ImmutableAppConfig
java.lang.Object
de.poiu.coat.CoatConfig
de.poiu.coat.example.ImmutableAppConfig
- All Implemented Interfaces:
AppConfig
@Generated(value="de.poiu.coat.processor.CoatProcessor",
date="2023-05-31T22:45:17.278336554+02:00")
public class ImmutableAppConfig
extends CoatConfig
implements AppConfig
-
Constructor Summary
ConstructorsConstructorDescriptionImmutableAppConfig(File file) ImmutableAppConfig(Map<String, String> props) ImmutableAppConfig(Properties props) -
Method Summary
Modifier and TypeMethodDescriptionbooleanA short getDescription of the purpose of this application.The interfaces to listen on for incoming connections.intThe port to listen on for incoming connections.getName()A shorthand getName for this application.inthashCode()mqtt()The configuration for the MQTT connectionstatic 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
-
ImmutableAppConfig
- Throws:
IOException
-
ImmutableAppConfig
-
ImmutableAppConfig
-
-
Method Details
-
getName
A shorthand getName for this application. -
getDescription
A short getDescription of the purpose of this application.- Specified by:
getDescriptionin interfaceAppConfig
-
getListenAddress
The interfaces to listen on for incoming connections.- Specified by:
getListenAddressin interfaceAppConfig
-
getListenPort
public int getListenPort()The port to listen on for incoming connections.- Specified by:
getListenPortin interfaceAppConfig
-
mqtt
The configuration for the MQTT connection -
equals
-
hashCode
public int hashCode() -
writeExampleConfig
- Throws:
IOException
-
writeExampleConfig
- Throws:
IOException
-