Class PropertyChangeTriggerBoolean
java.lang.Object
com.pnfsoftware.jeb.core.properties.impl.PropertyChangeTriggerBoolean
Convenience trigger reacting to changes affecting a boolean property.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPropertyChangeTriggerBoolean(String changedKey, String checkedKeyName, IPropertyManager pm) Create a trigger that reacts when a specific property changes. -
Method Summary
-
Field Details
-
changedKey
-
checkedKeyName
-
pm
-
-
Constructor Details
-
PropertyChangeTriggerBoolean
Create a trigger that reacts when a specific property changes.- Parameters:
changedKey- fully-qualified changed property keycheckedKeyName- local property name to monitorpm- property manager used to retrieve the updated value
-
-
Method Details
-
check
protected void check() -
onChange
protected abstract void onChange(boolean v) React to the new boolean property value.- Parameters:
v- updated property value
-