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 StringgetResolvedValue(String parameterName) getValueOrDefault(String a, String def) resolveObjectValue(Object obj) resolveValues(LinkedHashMap<String, Object> lmap) voidsetDefaultReturn(String defaultReturn) protected voidvoidsetSsmPath(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:
getResolvedValuein interfaceUC3ConfigResolver- Throws:
org.cdlib.mrt.utility.TException
-
getResolvedStorageNode
- Specified by:
getResolvedStorageNodein interfaceUC3ConfigResolver- Throws:
org.cdlib.mrt.utility.TException
-
getSsmPath
- Specified by:
getSsmPathin interfaceUC3ConfigResolver
-
setSsmPath
- Specified by:
setSsmPathin interfaceUC3ConfigResolver
-
getValueOrDefault
-
setDefaultReturn
- Specified by:
setDefaultReturnin interfaceUC3ConfigResolver
-
resolveConfigValue
- Throws:
RuntimeConfigException
-
resolveValues
public LinkedHashMap<String,Object> resolveValues(LinkedHashMap<String, Object> lmap) throws RuntimeConfigException- Specified by:
resolveValuesin interfaceUC3ConfigResolver- Throws:
RuntimeConfigException
-
resolveObjectValue
- Throws:
RuntimeConfigException
-