Class SystemEnvConfigSource
java.lang.Object
com.alipay.sofa.common.config.source.AbstractConfigSource
com.alipay.sofa.common.config.source.SystemEnvConfigSource
- All Implemented Interfaces:
ConfigSource
,Ordered
- Version:
- : SystemEnvConfigSource.java, v 0.1 2020年12月01日 1:42 下午 zhaowang Exp $
- Author:
- zhaowang
-
Field Summary
Fields inherited from interface com.alipay.sofa.common.utils.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.alipay.sofa.common.config.source.AbstractConfigSource
changeValueType, getConfig, getEffectiveKey, getStringConfig
-
Constructor Details
-
SystemEnvConfigSource
public SystemEnvConfigSource()
-
-
Method Details
-
doGetConfig
- Specified by:
doGetConfig
in classAbstractConfigSource
-
hasKey
- Specified by:
hasKey
in classAbstractConfigSource
-
getName
- Returns:
- The name of ConfigSource
-
getOrder
public int getOrder()Description copied from interface:Ordered
Get the order value of this object.Higher values are interpreted as lower priority. As a consequence, the object with the lowest value has the highest priority (somewhat analogous to Servlet
load-on-startup
values).Same order values will result in arbitrary sort positions for the affected objects.
- Returns:
- the order value
- See Also:
-