public class StandaloneNotificationSender extends Object implements WorkflowNotifiable
| Constructor and Description |
|---|
StandaloneNotificationSender(String topic,
Workflow workflow) |
| Modifier and Type | Method and Description |
|---|---|
void |
cleanup() |
ServiceNotifiable |
createServiceNotificationSender(String nodeID) |
org.apache.axis2.addressing.EndpointReference |
getEventSink() |
String |
getTopic() |
void |
sendingPartialResults(Object[] args,
String[] keywords) |
void |
workflowFailed(String message)
Sends a START_INCOMPLETED notification message.
|
void |
workflowFailed(String message,
Throwable e)
Sends a START_INCOMPLETED notification message.
|
void |
workflowFailed(Throwable e)
Sends a START_INCOMPLETED notification message.
|
void |
workflowFinished(Object[] args,
String[] keywords) |
void |
workflowFinished(org.python.core.PyObject[] args,
String[] keywords) |
void |
workflowStarted(Object[] args,
String[] keywords) |
void |
workflowStarted(org.python.core.PyObject[] args,
String[] keywords) |
void |
workflowTerminated() |
public org.apache.axis2.addressing.EndpointReference getEventSink()
getEventSink in interface WorkflowNotifiablepublic void workflowStarted(org.python.core.PyObject[] args,
String[] keywords)
workflowStarted in interface WorkflowNotifiablepublic void workflowStarted(Object[] args, String[] keywords)
workflowStarted in interface WorkflowNotifiablepublic void workflowFinished(Object[] args, String[] keywords)
workflowFinished in interface WorkflowNotifiablepublic void sendingPartialResults(Object[] args, String[] keywords)
sendingPartialResults in interface WorkflowNotifiablepublic void workflowFinished(org.python.core.PyObject[] args,
String[] keywords)
workflowFinished in interface WorkflowNotifiablepublic void workflowTerminated()
workflowTerminated in interface WorkflowNotifiablepublic void workflowFailed(String message)
WorkflowNotifiableworkflowFailed in interface WorkflowNotifiablemessage - The message to sendpublic void workflowFailed(Throwable e)
WorkflowNotifiableworkflowFailed in interface WorkflowNotifiablepublic void workflowFailed(String message, Throwable e)
WorkflowNotifiableworkflowFailed in interface WorkflowNotifiablemessage - The message to sendpublic ServiceNotifiable createServiceNotificationSender(String nodeID)
createServiceNotificationSender in interface WorkflowNotifiablepublic void cleanup()
cleanup in interface WorkflowNotifiablepublic String getTopic()
getTopic in interface WorkflowNotifiableCopyright © 2011–2014 The Apache Software Foundation. All rights reserved.