public class YSimulator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
protected static class |
YSimulator.SimulationType |
Modifier and Type | Field and Description |
---|---|
protected static java.lang.String |
DEFAULT_URL |
Constructor and Description |
---|
YSimulator() |
Modifier and Type | Method and Description |
---|---|
protected void |
allocateOffers() |
protected void |
cancelAllCases() |
protected void |
connect(java.lang.String url) |
protected void |
fail(java.lang.String msg) |
protected java.util.Set<WorkItemRecord> |
getAllocated(java.lang.String pid) |
protected java.util.Set<WorkItemRecord> |
getOffered(java.lang.String pid) |
protected java.lang.String |
getParticipantID(java.lang.String userID) |
protected java.util.Set<java.lang.String> |
getPIDsForRole(java.lang.String roleName) |
protected boolean |
hasRunningCases() |
static void |
main(java.lang.String[] args) |
protected void |
print(java.lang.String msg) |
protected boolean |
process(java.lang.String pid,
WorkItemRecord wir) |
protected boolean |
successful(java.lang.String s) |
protected static final java.lang.String DEFAULT_URL
public static void main(java.lang.String[] args)
protected void connect(java.lang.String url)
protected java.lang.String getParticipantID(java.lang.String userID) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
protected java.util.Set<java.lang.String> getPIDsForRole(java.lang.String roleName) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
protected boolean hasRunningCases() throws java.io.IOException
java.io.IOException
protected void cancelAllCases()
protected void allocateOffers() throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
protected java.util.Set<WorkItemRecord> getOffered(java.lang.String pid) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
protected java.util.Set<WorkItemRecord> getAllocated(java.lang.String pid) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
protected boolean process(java.lang.String pid, WorkItemRecord wir) throws java.io.IOException, ResourceGatewayException
java.io.IOException
ResourceGatewayException
protected boolean successful(java.lang.String s)
protected void fail(java.lang.String msg)
protected void print(java.lang.String msg)
Copyright © 2004-2014 The YAWL Foundation.