net.kwfgrid.gwes.prorater
Class ResourceCoAllocator
java.lang.Object
net.kwfgrid.gwes.prorater.ResourceCoAllocator
public class ResourceCoAllocator
- extends Object
This class implements the methods for spatial co-allocation, i.e., two or more subsequent workflow activities are
supposed to be invoked on the same resource.
- Version:
- $Id: ResourceCoAllocator.java 1419 2010-11-01 14:12:17Z hoheisel $
- Author:
- Andreas Hoheisel
(www.andreas-hoheisel.de)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResourceCoAllocator
public ResourceCoAllocator()
blue2greenCoAllocationFromToken
public static String blue2greenCoAllocationFromToken(TransitionOccurrence to,
GWorkflowDLHandler handler)
- Co-Allocation based on resource allocation information stored in token properties.
If the transition contains a resource.allocation.group property then this method checks if there are input
or read tokens that contain a corresponding resource allocation for this group. Then the corresponding
operation candidate is selected.
- Parameters:
to - The transition occurrence.handler - The parent workflow handler.
- Returns:
- The resource name to be used by the next operation of this transition or
null if there
is no resource name specified in one of the input tokens.
Copyright © 2005-2011 Fraunhofer FIRST. All Rights Reserved.