net.sf.eos.util.functions
Class DefaultValueConfigurationKeyFunction
java.lang.Object
net.sf.eos.util.functions.DefaultValueConfigurationKeyFunction
- All Implemented Interfaces:
- Function<ConfigurationKey,String>
@Experimental
public class DefaultValueConfigurationKeyFunction
- extends Object
- implements Function<ConfigurationKey,String>
The function returns the default value of a ConfigurationKey
.
- Since:
- 0.1.0
- Author:
- Sascha Kohlmann
- See Also:
ConfigurationKeyIntrospectorFunction
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DefaultValueConfigurationKeyFunction
public DefaultValueConfigurationKeyFunction()
apply
public String apply(@Nullable
ConfigurationKey from)
- Returns the default value
of a
ConfigurationKey
.
- Specified by:
apply
in interface Function<ConfigurationKey,String>
- Parameters:
from
- the configuration key instance
- Returns:
- the default value. Maybe
null
Copyright © 2008. All Rights Reserved.