public class DriverMatrix
extends java.lang.Object
Constructor and Description |
---|
DriverMatrix(java.util.Set<CostModel> models)
Constructs a new DriverMatrix
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,XNode> |
getCostMap(java.lang.String taskName,
java.util.Set<java.lang.String> resourceSet) |
java.lang.String |
getCostMapAsXML(java.lang.String taskName,
java.util.Set<java.lang.String> resourceSet) |
java.util.Set<CostDriver> |
getResourceDrivers(java.lang.String resource) |
java.util.Set<CostDriver> |
getTaskDrivers(java.lang.String taskName) |
java.util.Set<CostDriver> |
getVariableDrivers(java.lang.String variable) |
boolean |
hasDriversForResource(java.lang.String resource) |
boolean |
hasDriversForTask(java.lang.String taskName) |
boolean |
hasDriversForVariable(java.lang.String variable) |
boolean |
hasResourceMatch(java.lang.String driverResource,
java.lang.String participantID)
checks whether the resource id in a driver entity tag (which may identify a
participant, role, capability, position or org group) can be resolved to
the participant id
|
public DriverMatrix(java.util.Set<CostModel> models)
models
- the set of models to use to create the matrixpublic boolean hasResourceMatch(java.lang.String driverResource, java.lang.String participantID)
driverResource
- the resource id in the driverparticipantID
- the participant idpublic boolean hasDriversForTask(java.lang.String taskName)
public boolean hasDriversForResource(java.lang.String resource)
public boolean hasDriversForVariable(java.lang.String variable)
public java.util.Set<CostDriver> getTaskDrivers(java.lang.String taskName)
public java.util.Set<CostDriver> getResourceDrivers(java.lang.String resource)
public java.util.Set<CostDriver> getVariableDrivers(java.lang.String variable)
public java.util.Map<java.lang.String,XNode> getCostMap(java.lang.String taskName, java.util.Set<java.lang.String> resourceSet)
public java.lang.String getCostMapAsXML(java.lang.String taskName, java.util.Set<java.lang.String> resourceSet)
Copyright © 2004-2014 The YAWL Foundation.