AndHow!
Java application configuration
Last updated
<dependency>
<groupId>org.yarnandtail</groupId>
<artifactId>andhow</artifactId>
<version>1.5.0</version>
</dependency>
<dependency>
<!-- Utils for unit testing apps using AndHow -->
<groupId>org.yarnandtail</groupId>
<artifactId>andhow-junit5-extensions</artifactId>
<version>1.5.0</version>
<scope>test</scope>
</dependency>private static final StrProp HOST = StrProp.builder().startsWith("internal.").build();
public static final IntProp PORT = IntProp.builder().defaultValue(80).build();String theHost = HOST.getValue();
int thePort = PORT.getValue();