org.inria.ns.reflex.processor.core
Class AbstractAction.UselessAction

java.lang.Object
  extended by org.inria.ns.reflex.processor.core.AbstractAction
      extended by org.inria.ns.reflex.processor.core.AbstractAction.UselessAction
All Implemented Interfaces:
Executable, Presentable, NamespaceContextFactory
Enclosing class:
AbstractAction

public static class AbstractAction.UselessAction
extends AbstractAction

An action that does nothing except trying to reorganize the set of actions that is depending from. Its life time should be short. A background task should remove such actions.

Author:
Philippe Poulard

Nested Class Summary
 
Nested classes/interfaces inherited from class org.inria.ns.reflex.processor.core.AbstractAction
AbstractAction.ParameterAdapter, AbstractAction.UselessAction
 
Field Summary
 
Fields inherited from class org.inria.ns.reflex.processor.core.AbstractAction
actions, parent, processorInstance
 
Constructor Summary
AbstractAction.UselessAction(Node node, AbstractAction parent)
          Create a new instance of UselessAction.
 
Method Summary
 void runAction(DataSet dataSet)
          Execute the action by doing nothing, except trying to launch a reorganization process.
 
Methods inherited from class org.inria.ns.reflex.processor.core.AbstractAction
addAction, addFallbackAction, createContext, getCanonicalPath, getFallbackAction, getLocalFallbackAction, getLogger, getNamespaceContext, getNode, getParent, recover, recover, removeFallbackAction, reorganize, run, runActions, toPrettyString, toPrettyString, toString, unmarshal
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractAction.UselessAction

public AbstractAction.UselessAction(Node node,
                                    AbstractAction parent)
Create a new instance of UselessAction.

Parameters:
node - The node from which the action has been unmarshalled.
parent - The action depending from.
Method Detail

runAction

public void runAction(DataSet dataSet)
               throws ExecutionException
Execute the action by doing nothing, except trying to launch a reorganization process.

Overrides:
runAction in class AbstractAction
Parameters:
dataSet - The set of datas used when the action is running.
Throws:
ExecutionException - If the action can't be performed.