Class PropertyChangeTriggerString

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

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

  • Constructor Details

    • PropertyChangeTriggerString

      public PropertyChangeTriggerString(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(String v)
      React to the new string property value.
      Parameters:
      v - updated property value