Class PropertyChangeTriggerInteger
java.lang.Object
com.pnfsoftware.jeb.core.properties.impl.PropertyChangeTriggerInteger
Convenience trigger reacting to changes affecting an integer property.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPropertyChangeTriggerInteger(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
-
PropertyChangeTriggerInteger
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(int v) React to the new integer property value.- Parameters:
v- updated property value
-