com.google.gwt.core.ext
Class PropertyOracles
java.lang.Object
com.google.gwt.core.ext.PropertyOracles
public class PropertyOracles
- extends java.lang.Object
Helper functions for operating on multiple property oracles.
|
Method Summary |
static boolean |
findBooleanProperty(TreeLogger logger,
PropertyOracle[] propertyOracles,
java.lang.String name,
java.lang.String valueToFind,
boolean valueIfFound,
boolean valueIfNotFound,
boolean valueIfError)
Look for a selection property in all property oracles. |
static int |
findIntegerConfigurationProperty(PropertyOracle[] propertyOracles,
java.lang.String name,
int def)
Look for a configuration property in all property oracles. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyOracles
public PropertyOracles()
findIntegerConfigurationProperty
public static int findIntegerConfigurationProperty(PropertyOracle[] propertyOracles,
java.lang.String name,
int def)
- Look for a configuration property in all property oracles.
findBooleanProperty
public static boolean findBooleanProperty(TreeLogger logger,
PropertyOracle[] propertyOracles,
java.lang.String name,
java.lang.String valueToFind,
boolean valueIfFound,
boolean valueIfNotFound,
boolean valueIfError)
- Look for a selection property in all property oracles.