Class PropertyChangeTriggerBoolean

java.lang.Object
com.pnfsoftware.jeb.core.properties.impl.PropertyChangeTriggerBoolean

public abstract class PropertyChangeTriggerBoolean extends Object
Convenience trigger reacting to changes affecting a boolean property.
  • Field Details

  • Constructor Details

    • PropertyChangeTriggerBoolean

      public PropertyChangeTriggerBoolean(String changedKey, String checkedKeyName, IPropertyManager pm)
      Create a trigger that reacts when a specific property changes.
      Parameters:
      changedKey - fully-qualified changed property key
      checkedKeyName - local property name to monitor
      pm - 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