pl.edu.agh.cast.backward.editor.operation
Class SelectMediatorsOperation

java.lang.Object
  extended by pl.edu.agh.cast.backward.editor.operation.SelectMediatorsOperation

public class SelectMediatorsOperation
extends Object

The implementation of 'select mediators' algorithm. Extracted from SelectMediatorsCommand.

Author:
AGH CAST Team

Constructor Summary
SelectMediatorsOperation(SelectMediatorsParameters parameters, Collection<Node> nodes)
          Creates new 'select mediators' operation.
 
Method Summary
 List<Node> execute()
          Executes the algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SelectMediatorsOperation

public SelectMediatorsOperation(SelectMediatorsParameters parameters,
                                Collection<Node> nodes)
Creates new 'select mediators' operation.

Parameters:
parameters - operation parameters
nodes - nodes to operate on
Method Detail

execute

public List<Node> execute()
Executes the algorithm.

Returns:
non-null, but possibly empty, list of nodes that were determined to be 'mediators' as per the algorithm parameters


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.