Class AbstractConfiguration
java.lang.Object
io.trino.tempto.internal.configuration.AbstractConfiguration
- All Implemented Interfaces:
Configuration
- Direct Known Subclasses:
EmptyConfiguration,HierarchicalConfiguration,MapConfiguration
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionasMap()booleangetBoolean(String key) booleanbooleangetBooleanMandatory(String key, String errorMessage) doublegetDoubleMandatory(String key) doublegetDoubleMandatory(String key, String errorMessage) intgetIntMandatory(String key) intgetIntMandatory(String key, String errorMessage) getStringList(String key) getStringListMandatory(String key, String errorMessage) getStringMandatory(String key) getStringMandatory(String key, String errorMessage) getStringOrList(String key) Gets value under key and returns as list.inthashCode()booleanMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.trino.tempto.configuration.Configuration
get, getSubconfiguration, listKeys, listPrefixes
-
Constructor Details
-
AbstractConfiguration
public AbstractConfiguration()
-
-
Method Details
-
getString
- Specified by:
getStringin interfaceConfiguration
-
getStringMandatory
- Specified by:
getStringMandatoryin interfaceConfiguration
-
getStringMandatory
- Specified by:
getStringMandatoryin interfaceConfiguration
-
getInt
- Specified by:
getIntin interfaceConfiguration
-
getIntMandatory
- Specified by:
getIntMandatoryin interfaceConfiguration
-
getIntMandatory
- Specified by:
getIntMandatoryin interfaceConfiguration
-
getDouble
- Specified by:
getDoublein interfaceConfiguration
-
getDoubleMandatory
- Specified by:
getDoubleMandatoryin interfaceConfiguration
-
getDoubleMandatory
- Specified by:
getDoubleMandatoryin interfaceConfiguration
-
getBoolean
- Specified by:
getBooleanin interfaceConfiguration
-
getBooleanMandatory
- Specified by:
getBooleanMandatoryin interfaceConfiguration
-
getBooleanMandatory
- Specified by:
getBooleanMandatoryin interfaceConfiguration
-
isList
- Specified by:
isListin interfaceConfiguration
-
getStringList
- Specified by:
getStringListin interfaceConfiguration
-
getStringListMandatory
- Specified by:
getStringListMandatoryin interfaceConfiguration
-
getStringListMandatory
- Specified by:
getStringListMandatoryin interfaceConfiguration
-
getStringOrList
Description copied from interface:ConfigurationGets value under key and returns as list. If value is not a list, singleton list is returned. If value is missing, empty list is returned.- Specified by:
getStringOrListin interfaceConfiguration
-
asMap
- Specified by:
asMapin interfaceConfiguration
-
hashCode
public int hashCode() -
equals
-