Class AbstractAction.UselessAction

  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:

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.

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


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

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


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

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