public abstract class AbstractConfigurationSource extends Object implements ConfigurationSource
Configuration
based on a specific format of
the configuration.
This class is not intended to be instantiated directly hence the protected contructor.
Consumers should use the configuration format (ex: Java Properties, JNDI etc) specific extension
of ConfigurationSource
.
ConfigurationSource
Constructor and Description |
---|
AbstractConfigurationSource() |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(ConfigurationSource that)
To achieve the natural ordering of
ConfigurationSource i.e., higher priority sources
precedes lower priority sources the compareTo method is expected to reverse the ordering of the
natural numbers. |
boolean |
equals(Object o) |
int |
hashCode() |
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
getConfig, getPriority
public final int compareTo(@Nonnull ConfigurationSource that)
ConfigurationSource
i.e., higher priority sources
precedes lower priority sources the compareTo method is expected to reverse the ordering of the
natural numbers.compareTo
in interface Comparable<ConfigurationSource>
Copyright © 2017 Cerner Innovation, Inc.. All rights reserved.