slib.sglib.algo.graph.utils
Class GraphActionExecutor

java.lang.Object
  extended by slib.sglib.algo.graph.utils.GraphActionExecutor

public class GraphActionExecutor
extends Object

Class managing the execution of GAction over a graph.

Author:
Harispe Sébastien

Constructor Summary
GraphActionExecutor()
           
 
Method Summary
static void applyAction(slib.sglib.model.repo.URIFactory factory, GAction action, slib.sglib.model.graph.G g)
          Apply an action to the graph.
static void applyActions(slib.sglib.model.repo.URIFactory factory, List<GAction> actions, slib.sglib.model.graph.G g)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GraphActionExecutor

public GraphActionExecutor()
Method Detail

applyAction

public static void applyAction(slib.sglib.model.repo.URIFactory factory,
                               GAction action,
                               slib.sglib.model.graph.G g)
                        throws slib.utils.ex.SLIB_Ex_Critic
Apply an action to the graph.

Parameters:
factory - the factory to consider if element requires to be generated (e.g. URI)
action - the action to perform
g - the graph on which the action must be performed
Throws:
slib.utils.ex.SLIB_Ex_Critic

applyActions

public static void applyActions(slib.sglib.model.repo.URIFactory factory,
                                List<GAction> actions,
                                slib.sglib.model.graph.G g)
                         throws slib.utils.ex.SLIB_Ex_Critic
Parameters:
factory -
actions -
g -
Throws:
slib.utils.ex.SLIB_Ex_Critic


Copyright © 2013. All Rights Reserved.