net.sf.oval.guard
Class ProbeModeListener

java.lang.Object
  extended by net.sf.oval.guard.ConstraintsViolatedAdapter
      extended by net.sf.oval.guard.ProbeModeListener
All Implemented Interfaces:
ConstraintsViolatedListener

public class ProbeModeListener
extends ConstraintsViolatedAdapter

Author:
Sebastian Thomschke

Method Summary
 void commit()
          Executes the collected method calls and clears the internal list holding them.
 Object getTarget()
          Returns the object that is/was in probe mode.
 
Methods inherited from class net.sf.oval.guard.ConstraintsViolatedAdapter
clear, getConstraintsViolatedExceptions, getConstraintViolations, onConstraintsViolatedException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

commit

public void commit()
            throws InvokingMethodFailedException,
                   ConstraintsViolatedException
Executes the collected method calls and clears the internal list holding them.

Throws:
InvokingMethodFailedException
ConstraintsViolatedException

getTarget

public Object getTarget()
Returns the object that is/was in probe mode.

Returns:
the object that is/was in probe mode


Copyright © 2005–2015 The OVal Development Team. All rights reserved.