
public class BindingProperties extends Object implements Serializable
If soft permutations aren't turned on, these are also the properties for the enclosing hard permutation.
| Constructor and Description |
|---|
BindingProperties(BindingProperty[] orderedProperties,
String[] orderedPropertyValues,
ConfigurationProperties configurationProperties)
Create a property oracle that will return the supplied values.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBoolean(String key,
boolean defaultValue)
Returns the value of a property as a boolean.
|
ConfigurationProperties |
getConfigurationProperties()
Returns the configuration properties for this compile.
|
BindingProperty[] |
getOrderedProps()
Returns all binding properties in dependency order.
|
String[] |
getOrderedPropValues()
Returns the value of each binding property, in the same order as
getOrderedProps(). |
String |
getString(String key,
String defaultValue)
Returns the value of a property as a string.
|
String |
prettyPrint()
Prints the properties as a single string, for logging and soyc.
|
PropertyOracle |
toPropertyOracle()
Returns a view of the properties as a PropertyOracle.
|
String |
toString()
Dumps the binding property key/value pairs; For debugging use only.
|
public BindingProperties(BindingProperty[] orderedProperties, String[] orderedPropertyValues, ConfigurationProperties configurationProperties)
orderedProperties - array of binding properties in dependency orderorderedPropertyValues - a parallel array containing the property valuespublic boolean getBoolean(String key, boolean defaultValue)
public String getString(String key, String defaultValue)
public ConfigurationProperties getConfigurationProperties()
public BindingProperty[] getOrderedProps()
public String[] getOrderedPropValues()
getOrderedProps().public PropertyOracle toPropertyOracle()
public String prettyPrint()
Copyright © 2018. All rights reserved.