Modifier and Type | Method and Description |
---|---|
static EvaluationPolicy |
EvaluationPolicy.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EvaluationPolicy[] |
EvaluationPolicy.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
static OptionalConfiguration |
OptionalConfiguration.of(EvaluationPolicy policy)
Returns a default instance, which uses a default provider returning values from system properties and environment
only.
|
static OptionalConfiguration |
OptionalConfiguration.of(EvaluationPolicy policy,
ValueProvider provider)
Returns an instance of OptionalConfiguration, which uses the given provider and policy for evaluating the values.
|
Copyright © 2014–2016 Apache Software Foundation. All rights reserved.