org.pentaho.platform.util.beans
Class ActionHarness.DefaultActionCallback

java.lang.Object
  extended by org.pentaho.platform.util.beans.BeanUtil.EagerFailingCallback
      extended by org.pentaho.platform.util.beans.ActionHarness.DefaultActionCallback
All Implemented Interfaces:
ValueSetErrorCallback
Enclosing class:
ActionHarness

public static class ActionHarness.DefaultActionCallback
extends BeanUtil.EagerFailingCallback


Constructor Summary
ActionHarness.DefaultActionCallback()
           
 
Method Summary
 void propertyNotWritable(Object bean, String propertyName)
          Fired if, prior to the value being set, the write-check on the property fails.
 
Methods inherited from class org.pentaho.platform.util.beans.BeanUtil.EagerFailingCallback
failedToSetValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActionHarness.DefaultActionCallback

public ActionHarness.DefaultActionCallback()
Method Detail

propertyNotWritable

public void propertyNotWritable(Object bean,
                                String propertyName)
                         throws Exception
Description copied from interface: ValueSetErrorCallback
Fired if, prior to the value being set, the write-check on the property fails.

Specified by:
propertyNotWritable in interface ValueSetErrorCallback
Overrides:
propertyNotWritable in class BeanUtil.EagerFailingCallback
Parameters:
bean - the bean on which write test was performed
propertyName - the name of the property that is not writable on the bean
Throws:
Exception - throw an exception if you consider this to be a terminal condition