Package org.refcodes.properties.ext.runtime
package org.refcodes.properties.ext.runtime
This artifact extends the
refcodes-properties
artifact with predefined Properties
compositions (as of the RuntimeProperties
and the RuntimePropertiesImpl
types) for common everyday application setups (also see the blog post
All-in-one
Java configuration properties at hand).
Please refer to the refcodes-properties: Managing your application's configuration documentation for an up-to-date and detailed description on the usage of this artifact.
-
ClassDescription
RuntimeProperties
are composed of variousProperties
flavors such asArgsParserProperties
,SystemProperties
,EnvironmentProperties
andResourceProperties
with a precedence in this order, encapsulated by aProfilePropertiesProjection
in order for you, the developer, to conveniently harness the power of theProperties
functionality.TheRuntimePropertiesImpl
composite represent command line properties, system properties as well as environment variables (in that order) and resource properties.Declarative syntactic sugar which may be statically imported in order to allow declarative definitions for the construction ofRuntimeProperties
(and the like).