net.kwfgrid.gwes.operationmapper
Class OperationMapper
java.lang.Object
net.kwfgrid.gwes.operationmapper.OperationMapper
- Direct Known Subclasses:
- AbstractProrater, RecurrentProrater, TwoTierProrater, Yellow2BlueResourceMatcherOperationMapper
public abstract class OperationMapper
- extends Object
The abstract class OperationMapper is used to encapsulate methods that map operations to a less abstract one, e.g.,
- Operation to OperationClass (Red to Yellow)
- OperationClass to OperationCandidates (Yellow to Blue)
- Select one OperationCandidate (Blue to Green)
- Version:
- $Id: OperationMapper.java 1419 2010-11-01 14:12:17Z hoheisel $
- Author:
- Andreas Hoheisel
(www.andreas-hoheisel.de)
|
Method Summary |
abstract boolean |
processTransition(GenericWorkflowHandler handler,
net.kwfgrid.gworkflowdl.structure.Transition transition)
Maps the operation contained in the specified transition to a less abstract level. |
abstract 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 |
OperationMapper
public OperationMapper()
processTransition
public abstract 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.
- Parameters:
handler - The parent workflow handler.transition -
- Returns:
true if a mapping was possible, false otherwise.
- Throws:
OperationMapperException
processTransitions
public abstract 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.
- 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.