be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIfScenarios.model.action.impl
Class NodeUpWIAction

java.lang.Object
  extended by be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIfScenarios.model.action.impl.NodeUpWIAction
All Implemented Interfaces:
WIAction

public class NodeUpWIAction
extends java.lang.Object
implements WIAction

Action to set a node up.

Creation date: 23/04/2007

Author:
Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)

Constructor Summary
NodeUpWIAction(Domain domain, Node node)
           
 
Method Summary
 void execute()
          Execute the action.
 java.lang.String getName()
          Return a name representing the action and its parameters
 void setNode(Node node)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NodeUpWIAction

public NodeUpWIAction(Domain domain,
                      Node node)
               throws NodeNotFoundException
Throws:
NodeNotFoundException
Method Detail

setNode

public void setNode(Node node)
             throws NodeNotFoundException
Throws:
NodeNotFoundException

execute

public void execute()
             throws ActionExecutionException
Description copied from interface: WIAction
Execute the action.

Specified by:
execute in interface WIAction
Throws:
ActionExecutionException

getName

public java.lang.String getName()
Description copied from interface: WIAction
Return a name representing the action and its parameters

Specified by:
getName in interface WIAction
Returns:


Copyright © 2004-2007 Research Unit in Networking, All Rights Reserved.