net.kwfgrid.gwes.operationmapper
Class Yellow2BlueResourceMatcherOperationMapper

java.lang.Object
  extended by net.kwfgrid.gwes.operationmapper.OperationMapper
      extended by net.kwfgrid.gwes.operationmapper.Yellow2BlueResourceMatcherOperationMapper

public class Yellow2BlueResourceMatcherOperationMapper
extends OperationMapper

Maps red operations to yellow ones, using the Resource Matcher service.

Version:
$Id: Yellow2BlueResourceMatcherOperationMapper.java 1520 2011-02-28 16:44:35Z hoheisel $
Author:
Andreas Hoheisel (www.andreas-hoheisel.de)

Constructor Summary
Yellow2BlueResourceMatcherOperationMapper()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Yellow2BlueResourceMatcherOperationMapper

public Yellow2BlueResourceMatcherOperationMapper()
Method Detail

processTransition

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

Specified by:
processTransition in class OperationMapper
Parameters:
transition -
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
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


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