public class TrackValueBuilder<P,V> extends ConfigurationValueBuilderHelper<P,V>
parent
Constructor and Description |
---|
TrackValueBuilder(ConfigurationValueBuilder<P,V> delegate,
List<PropertiesAndValue> all) |
Modifier and Type | Method and Description |
---|---|
P |
and() |
ConfigurationValueBuilderHelper<P,V> |
defaultValue(MayOverride<V> possibleNewValue) |
ConfigurationValueBuilderHelper<P,V> |
defaultValue(V value) |
V |
getValue() |
V |
getValue(V defaultValue) |
boolean |
hasValueOrProperties() |
TrackValueBuilder<P,V> |
properties(String... properties) |
void |
setValue(V value) |
TrackValueBuilder<P,V> |
value(Optional<V> optionalValue) |
public TrackValueBuilder(ConfigurationValueBuilder<P,V> delegate, List<PropertiesAndValue> all)
public ConfigurationValueBuilderHelper<P,V> defaultValue(V value)
defaultValue
in interface ConfigurationValueBuilder<P,V>
defaultValue
in class ConfigurationValueBuilderHelper<P,V>
public ConfigurationValueBuilderHelper<P,V> defaultValue(MayOverride<V> possibleNewValue)
defaultValue
in interface ConfigurationValueBuilder<P,V>
defaultValue
in class ConfigurationValueBuilderHelper<P,V>
public void setValue(V value)
setValue
in class ConfigurationValueBuilderHelper<P,V>
public V getValue()
getValue
in class ConfigurationValueBuilderHelper<P,V>
public V getValue(V defaultValue)
getValue
in class ConfigurationValueBuilderHelper<P,V>
public boolean hasValueOrProperties()
hasValueOrProperties
in class ConfigurationValueBuilderHelper<P,V>
public P and()
public TrackValueBuilder<P,V> value(Optional<V> optionalValue)
value
in interface ConfigurationValueBuilder<P,V>
value
in class ConfigurationValueBuilderHelper<P,V>
public TrackValueBuilder<P,V> properties(String... properties)
properties
in interface ConfigurationValueBuilder<P,V>
properties
in class ConfigurationValueBuilderHelper<P,V>
Copyright © 2021. All rights reserved.