Class ChainedPropertyResolver
- java.lang.Object
-
- com.inductiveautomation.ignition.common.config.ChainedPropertyResolver
-
- All Implemented Interfaces:
PropertyResolver
public class ChainedPropertyResolver extends java.lang.Object implements PropertyResolver
A property resolver that looks first in one resolver, then in another.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static PropertyResolver
create(PropertyResolver first, PropertyResolver second)
If either propertyresolver is null, this call will return the non-null resolver.Property<?>
resolve(java.lang.String id)
Returns the property represented by the id, or null if the property cannot be found.
-
-
-
Method Detail
-
create
public static PropertyResolver create(PropertyResolver first, PropertyResolver second)
If either propertyresolver is null, this call will return the non-null resolver. Otherwise a chained resolver is made.
-
resolve
public Property<?> resolve(java.lang.String id)
Description copied from interface:PropertyResolver
Returns the property represented by the id, or null if the property cannot be found.- Specified by:
resolve
in interfacePropertyResolver
-
-