Package org.cdlib.mrt.s3v2.tools
Class DefaultConfigResolver
java.lang.Object
org.cdlib.mrt.s3v2.tools.DefaultConfigResolver
- All Implemented Interfaces:
UC3ConfigResolver
- Author:
- DLoy Class used to
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetResolvedStorageNode
(long num) abstract String
getResolvedValue
(String parameterName) getValueOrDefault
(String a, String def) resolveObjectValue
(Object obj) resolveValues
(LinkedHashMap<String, Object> lmap) void
setDefaultReturn
(String defaultReturn) protected void
void
setSsmPath
(String ssmPath)
-
Field Details
-
pToken
-
-
Constructor Details
-
DefaultConfigResolver
-
DefaultConfigResolver
public DefaultConfigResolver()
-
-
Method Details
-
setPath
-
getKey
- Throws:
org.cdlib.mrt.utility.TException
-
getResolvedValue
public abstract String getResolvedValue(String parameterName) throws org.cdlib.mrt.utility.TException - Specified by:
getResolvedValue
in interfaceUC3ConfigResolver
- Throws:
org.cdlib.mrt.utility.TException
-
getResolvedStorageNode
- Specified by:
getResolvedStorageNode
in interfaceUC3ConfigResolver
- Throws:
org.cdlib.mrt.utility.TException
-
getSsmPath
- Specified by:
getSsmPath
in interfaceUC3ConfigResolver
-
setSsmPath
- Specified by:
setSsmPath
in interfaceUC3ConfigResolver
-
getValueOrDefault
-
setDefaultReturn
- Specified by:
setDefaultReturn
in interfaceUC3ConfigResolver
-
resolveConfigValue
- Throws:
RuntimeConfigException
-
resolveValues
public LinkedHashMap<String,Object> resolveValues(LinkedHashMap<String, Object> lmap) throws RuntimeConfigException- Specified by:
resolveValues
in interfaceUC3ConfigResolver
- Throws:
RuntimeConfigException
-
resolveObjectValue
- Throws:
RuntimeConfigException
-