Package ratpack.config
Interface ConfigObject<T>
-
- Type Parameters:
T
- the type of object
public interface ConfigObject<T>
An object deserialized from config.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getObject()
The bound object.String
getPath()
The path to the config item.Class<T>
getType()
The raw type of the config item.com.google.common.reflect.TypeToken<T>
getTypeToken()
The complete type of the config item.
-
-
-
Method Detail
-
getPath
String getPath()
The path to the config item.- Returns:
- the path to the config item
-
getType
Class<T> getType()
The raw type of the config item.- Returns:
- the raw type of the config item
-
getTypeToken
com.google.common.reflect.TypeToken<T> getTypeToken()
The complete type of the config item.- Returns:
- the complete type of the config item
- Since:
- 1.4
-
getObject
T getObject()
The bound object.- Returns:
- the bound object
-
-