com.hammurapi.flow.runtime.impl
Class PropertySubSet
java.lang.Object
com.hammurapi.flow.runtime.impl.PropertySubSet
- All Implemented Interfaces:
- PropertySet
public class PropertySubSet
- extends Object
- implements PropertySet
Property set backed by another (master) and operating
only on properties with names starting with specified prefix.
- Author:
- Pavel Vlasov
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertySubSet
public PropertySubSet(PropertySet master,
String prefix)
cancel
public void cancel(String name)
- Specified by:
cancel in interface PropertySet
clear
public void clear()
- Specified by:
clear in interface PropertySet
compareProperties
public boolean compareProperties(PropertySet otherSet)
- Specified by:
compareProperties in interface PropertySet
containsAll
public boolean containsAll(PropertySet subSet)
- Specified by:
containsAll in interface PropertySet
cook
public void cook(String name,
Callable<?> callable)
- Specified by:
cook in interface PropertySet
cook
public void cook(String name,
Callable<?> callable,
long delay,
TimeUnit timeUnit)
- Specified by:
cook in interface PropertySet
get
public Object get(String name)
- Specified by:
get in interface PropertySet
get
public Object get(String name,
Object defaultValue)
- Specified by:
get in interface PropertySet
getPropertyNames
public Set<String> getPropertyNames()
- Specified by:
getPropertyNames in interface PropertySet
getSubset
public PropertySet getSubset(String prefix)
- Specified by:
getSubset in interface PropertySet
lazy
public void lazy(String name,
Callable<?> callable)
- Specified by:
lazy in interface PropertySet
mount
public void mount(String prefix,
PropertySet source)
- Specified by:
mount in interface PropertySet
remove
public void remove(String name)
- Specified by:
remove in interface PropertySet
set
public void set(String name,
Object value)
- Specified by:
set in interface PropertySet
setAll
public void setAll(PropertySet source)
- Specified by:
setAll in interface PropertySet
cooking
public void cooking(String name,
Future<?> future)
- Specified by:
cooking in interface PropertySet