public class ParameterProperty<V> extends Object
Constructor and Description |
---|
ParameterProperty(String propertyName,
java.util.function.Function<String,V> converter) |
Modifier and Type | Method and Description |
---|---|
Optional<V> |
get()
Retrieves the value of this property.
|
V |
get(V defaultValue)
Retrieves the value of this property, or the given default if no value was set.
|
String |
getPropertyName() |
public ParameterProperty(String propertyName, java.util.function.Function<String,V> converter)
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.