Package com.puppycrawl.tools.checkstyle
Interface PropertyResolver
-
- All Known Implementing Classes:
PropertiesExpander
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface PropertyResolver
Resolves properties in module configurations.The
ConfigurationLoader
uses a PropertyResolver to resolve the values of external properties like${basename}
that occur in the configuration file.- See Also:
ConfigurationLoader
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
resolve(java.lang.String name)
Resolves a property name to its value.
-
-
-
Method Detail
-
resolve
java.lang.String resolve(java.lang.String name)
Resolves a property name to its value.- Parameters:
name
- the name of the property.- Returns:
- the value that is associated with
propertyName
.
-
-