public class MonitorUtil extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
MonitorUtil.EventType
Type of the notification event.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
BODY
body
In sendingResult
|
static String |
DESCRIPTION_TAG
description
|
static String |
GOT_RESULT_EVENT_TAG
gotResult
|
static String |
REQUEST
request
In invokingService
|
static String |
RESULT
result
In sendingResult
|
static String |
TIMESTAMP_TAG
timestamp
|
static org.xmlpull.infoset.XmlNamespace |
WOR_NS
Workflow tracking namespace
|
static String |
WORKFLOW_EXPERIMENT_ID
experimentID
In Notification Message
|
static org.xmlpull.infoset.XmlNamespace |
XBAYA_EVENTS_NS
XBaya events namespace
|
| Constructor and Description |
|---|
MonitorUtil() |
| Modifier and Type | Method and Description |
|---|---|
static String |
getExperiementID(org.xmlpull.infoset.XmlElement event) |
static String |
getLocation(org.xmlpull.infoset.XmlElement event) |
static String |
getMappedResource(org.xmlpull.infoset.XmlElement event)
Gets the mapped resource from the event.
|
static String |
getMessage(org.xmlpull.infoset.XmlElement event) |
static String |
getNodeID(org.xmlpull.infoset.XmlElement event) |
static String |
getRetryCount(org.xmlpull.infoset.XmlElement event)
Gets the retry count from the event.
|
static String |
getStatus(org.xmlpull.infoset.XmlElement event) |
static Date |
getTimestamp(org.xmlpull.infoset.XmlElement event) |
static MonitorUtil.EventType |
getType(org.xmlpull.infoset.XmlElement event) |
static URI |
getWorkflowID(org.xmlpull.infoset.XmlElement event) |
static URI |
getWorkflowInstanceID(org.xmlpull.infoset.XmlElement event)
Gets the workflow instance ID.
|
public static final org.xmlpull.infoset.XmlNamespace WOR_NS
public static final org.xmlpull.infoset.XmlNamespace XBAYA_EVENTS_NS
public static final String GOT_RESULT_EVENT_TAG
public static final String DESCRIPTION_TAG
public static final String TIMESTAMP_TAG
public static final String REQUEST
public static final String RESULT
public static final String BODY
public static final String WORKFLOW_EXPERIMENT_ID
public static MonitorUtil.EventType getType(org.xmlpull.infoset.XmlElement event)
event - public static Date getTimestamp(org.xmlpull.infoset.XmlElement event)
event - public static String getNodeID(org.xmlpull.infoset.XmlElement event)
event - public static String getExperiementID(org.xmlpull.infoset.XmlElement event)
event - public static URI getWorkflowID(org.xmlpull.infoset.XmlElement event)
event - public static String getStatus(org.xmlpull.infoset.XmlElement event)
event - public static String getMessage(org.xmlpull.infoset.XmlElement event)
event - public static String getLocation(org.xmlpull.infoset.XmlElement event)
event - public static String getMappedResource(org.xmlpull.infoset.XmlElement event)
event - The event, the type of which has to be resourceMapping.public static String getRetryCount(org.xmlpull.infoset.XmlElement event)
event - The event, the type of which has to be resourceMapping.public static URI getWorkflowInstanceID(org.xmlpull.infoset.XmlElement event)
event - The event, the type of which has to be workflowInitialized.Copyright © 2011-2013 The Apache Software Foundation. All Rights Reserved.