net.kwfgrid.gwes.prorater
Class RecurrentProrater

java.lang.Object
  extended by net.kwfgrid.gwes.operationmapper.OperationMapper
      extended by net.kwfgrid.gwes.prorater.RecurrentProrater
All Implemented Interfaces:
Runnable

public class RecurrentProrater
extends OperationMapper
implements Runnable

Version:
$Id: RecurrentProrater.java 1540 2011-08-17 13:30:37Z hoheisel $
Author:
Andreas Hoheisel (www.andreas-hoheisel.de), Dietmar Sommerfeld, Helge Rosé

Constructor Summary
RecurrentProrater()
          Constructor.
 
Method Summary
static List<Node> generateClusteredRandomDistribution(Map<String,Node> nodes)
           
 boolean processTransition(GenericWorkflowHandler handler, net.kwfgrid.gworkflowdl.structure.Transition transition)
          Maps the operation contained in the specified transition to a less abstract level.
 boolean processTransitions(GenericWorkflowHandler handler, ArrayList<net.kwfgrid.gworkflowdl.structure.Transition> transitions)
          Maps the operation contained in the specified list of transitions to a less abstract level.
 void run()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecurrentProrater

public RecurrentProrater()
Constructor.

Method Detail

processTransition

public boolean processTransition(GenericWorkflowHandler handler,
                                 net.kwfgrid.gworkflowdl.structure.Transition transition)
                          throws OperationMapperException
Description copied from class: OperationMapper
Maps the operation contained in the specified transition to a less abstract level.

Specified by:
processTransition in class OperationMapper
Parameters:
handler - The parent workflow handler.
Returns:
true if a mapping was possible, false otherwise.
Throws:
OperationMapperException

processTransitions

public boolean processTransitions(GenericWorkflowHandler handler,
                                  ArrayList<net.kwfgrid.gworkflowdl.structure.Transition> transitions)
                           throws OperationMapperException
Description copied from class: OperationMapper
Maps the operation contained in the specified list of transitions to a less abstract level.

Specified by:
processTransitions in class OperationMapper
Parameters:
handler - The parent workflow handler.
transitions - The list of transitions.
Returns:
true if a mapping was possible, false otherwise.
Throws:
OperationMapperException

run

public void run()
Specified by:
run in interface Runnable
See Also:
Thread.run()

generateClusteredRandomDistribution

public static List<Node> generateClusteredRandomDistribution(Map<String,Node> nodes)


Copyright © 2005-2011 Fraunhofer FIRST. All Rights Reserved.