Class AbstractConf
- java.lang.Object
-
- io.streamthoughts.azkarra.api.config.AbstractConf
-
-
Constructor Summary
Constructors Constructor Description AbstractConf()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> TgetClass(String key, Class<T> cls)Gets a required parameter as an instances of typeConf.<T> Collection<T>getClasses(String key, Class<T> cls)Gets a required parameter as a list of instances of typeConf.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.streamthoughts.azkarra.api.config.Conf
getBoolean, getConfAsMap, getConfAsProperties, getDouble, getInt, getLong, getOptionalBoolean, getOptionalDouble, getOptionalInt, getOptionalLong, getOptionalString, getString, getStringList, getSubConf, getSubConfList, hasPath, withFallback
-
-
-
-
Method Detail
-
getClasses
public <T> Collection<T> getClasses(String key, Class<T> cls)
Gets a required parameter as a list of instances of typeConf.- Specified by:
getClassesin interfaceConf- Type Parameters:
T- the expected type.- Parameters:
key- the parameter path.cls- the class of the .- Returns:
- a new
CollectionofConf.
-
-