public class LocalExecutionMonitor extends Object implements Observer<MonitorManager.MonitorMessage>
Constructor and Description |
---|
LocalExecutionMonitor(WorkflowReport workflowReport,
Bundle dataBundle,
WorkflowToDataflowMapper mapping,
String facadeId) |
Modifier and Type | Method and Description |
---|---|
void |
addPropertiesToNode(String[] owningProcess,
Set<MonitorableProperty<?>> newProperties) |
void |
convertReferenceToPath(Path path,
T2Reference reference,
InvocationContext context) |
void |
deregisterNode(String[] owningProcess) |
String |
getProcessorId(String[] owningProcess) |
static String |
getStackTraceElementString(StackTraceElementBean stackTraceElement) |
void |
notify(Observable<MonitorManager.MonitorMessage> sender,
MonitorManager.MonitorMessage message)
Called by the
Observable to notify the implementing class of
changes |
void |
registerNode(Object dataflowObject,
String[] owningProcess,
Set<MonitorableProperty<?>> properties) |
public LocalExecutionMonitor(WorkflowReport workflowReport, Bundle dataBundle, WorkflowToDataflowMapper mapping, String facadeId) throws InvalidWorkflowException
InvalidWorkflowException
public void notify(Observable<MonitorManager.MonitorMessage> sender, MonitorManager.MonitorMessage message) throws Exception
Observer
Observable
to notify the implementing class of
changesnotify
in interface Observer<MonitorManager.MonitorMessage>
sender
- the class where the changes have happenedmessage
- what has changedException
public void registerNode(Object dataflowObject, String[] owningProcess, Set<MonitorableProperty<?>> properties)
public void deregisterNode(String[] owningProcess)
public void addPropertiesToNode(String[] owningProcess, Set<MonitorableProperty<?>> newProperties)
public static String getStackTraceElementString(StackTraceElementBean stackTraceElement)
public void convertReferenceToPath(Path path, T2Reference reference, InvocationContext context) throws IOException, URISyntaxException
IOException
URISyntaxException
Copyright © 2015–2016 The Apache Software Foundation. All rights reserved.