public class BindingProps extends Object implements Serializable
If soft permutations aren't turned on, these are also the properties for the enclosing hard permutation.
Constructor and Description |
---|
BindingProps(BindingProperty[] orderedProps,
String[] orderedPropValues,
ConfigProps configProps)
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.
|
ConfigProps |
getConfigProps()
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 BindingProps(BindingProperty[] orderedProps, String[] orderedPropValues, ConfigProps configProps)
orderedProps
- array of binding properties in dependency orderorderedPropValues
- a parallel array containing the property valuespublic boolean getBoolean(String key, boolean defaultValue)
public String getString(String key, String defaultValue)
public ConfigProps getConfigProps()
public BindingProperty[] getOrderedProps()
public String[] getOrderedPropValues()
getOrderedProps()
.public PropertyOracle toPropertyOracle()
public String prettyPrint()
Copyright © 2018. All rights reserved.