net.kwfgrid.gwes.prorater
Class TwoTierProrater

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

public class TwoTierProrater
extends OperationMapper
implements Runnable

Version:
$Id: RecurrentProrater.java 1419 2010-11-01 14:12:17Z hoheisel $
Author:
Andreas Hoheisel (www.andreas-hoheisel.de), Dietmar Sommerfeld, GWDG

Constructor Summary
TwoTierProrater()
          Constructor.
 
Method Summary
 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

TwoTierProrater

public TwoTierProrater()
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()


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