|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.yawlfoundation.yawl.engine.interfce.Interface_Client
org.yawlfoundation.yawl.worklet.support.WorkletEventServer
public class WorkletEventServer
Announces worklet service events to registered listeners Author: Michael Adams Creation Date: 12/12/2012
| Nested Class Summary | |
|---|---|
static class |
WorkletEventServer.Event
|
| Constructor Summary | |
|---|---|
WorkletEventServer()
Constructs a new event server |
|
| Method Summary | |
|---|---|
String |
addListener(String uri)
Adds a listener to the set of registered listeners |
void |
announceConstraintPass(String caseID,
org.jdom.Element caseData,
RuleType rType)
Announces a case-level exception |
void |
announceConstraintPass(WorkItemRecord wir,
org.jdom.Element caseData,
RuleType rType)
Announces an item-level exception |
void |
announceException(String caseID,
org.jdom.Element caseData,
RdrNode node,
RuleType rType)
Announces a case-level exception |
void |
announceException(WorkItemRecord wir,
org.jdom.Element caseData,
RdrNode node,
RuleType rType)
Announces an item-level exception |
void |
announceSelection(CheckedOutChildItem item,
RdrNode node)
Announces a worklet selection |
boolean |
hasListeners()
|
String |
removeListener(String uri)
Removes a listener to the set of registered listeners |
void |
shutdownListeners()
Announces the worklet service is shutting down |
| Methods inherited from class org.yawlfoundation.yawl.engine.interfce.Interface_Client |
|---|
executeGet, executePost, prepareParamMap, setReadTimeout, stripOuterElement, successful |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WorkletEventServer()
| Method Detail |
|---|
public boolean hasListeners()
public String addListener(String uri)
uri - the URI of the listener to add
public String removeListener(String uri)
uri - the URI of the listener to remove
public void announceException(String caseID,
org.jdom.Element caseData,
RdrNode node,
RuleType rType)
caseID - the id of the case on which the exception was raisedcaseData - the current case data used to evaluate the exceptionnode - the node that evaluated to truerType - the type of exception raised
public void announceException(WorkItemRecord wir,
org.jdom.Element caseData,
RdrNode node,
RuleType rType)
wir - the workitem on which the exception was raisedcaseData - the current case data used to evaluate the exceptionnode - the node that evaluated to truerType - the type of exception raised
public void announceConstraintPass(String caseID,
org.jdom.Element caseData,
RuleType rType)
caseID - the id of the case on which the exception was raisedcaseData - the current case data used to evaluate the exceptionrType - the type of exception raised
public void announceConstraintPass(WorkItemRecord wir,
org.jdom.Element caseData,
RuleType rType)
wir - the workitem on which the exception was raisedcaseData - the current case data used to evaluate the exceptionrType - the type of exception raised
public void announceSelection(CheckedOutChildItem item,
RdrNode node)
item - a descriptor containing case, workitem, data and raised worklet infopublic void shutdownListeners()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||