be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIfScenarios.model.action.impl
Class NodeDownWIAction
java.lang.Object
be.ac.ulg.montefiore.run.totem.visualtopo.guiModules.whatIfScenarios.model.action.impl.NodeDownWIAction
- All Implemented Interfaces:
- WIAction
public class NodeDownWIAction
- extends java.lang.Object
- implements WIAction
Action to set a node down.
Creation date: 23/04/2007
- Author:
- Gaƫl Monfort (monfort@run.montefiore.ulg.ac.be)
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 |
NodeDownWIAction
public NodeDownWIAction(Domain domain,
Node node)
throws NodeNotFoundException
- Throws:
NodeNotFoundException
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.