javax.constraints.impl.search.goal
Class ReversibleActionGoal

java.lang.Object
  extended by javax.constraints.impl.search.goal.ReversibleActionGoal
All Implemented Interfaces:
ReversibleAction

public class ReversibleActionGoal
extends java.lang.Object
implements ReversibleAction


Constructor Summary
ReversibleActionGoal(Goal goal)
           
 
Method Summary
 boolean execute()
           
 Goal getGoal()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReversibleActionGoal

public ReversibleActionGoal(Goal goal)
Method Detail

execute

public boolean execute()
                throws java.lang.Exception
Specified by:
execute in interface ReversibleAction
Throws:
java.lang.Exception

getGoal

public Goal getGoal()