public class Monitor extends Object implements StepProcessListener
| Modifier and Type | Method and Description |
|---|---|
void |
notify(com.fasterxml.jackson.databind.node.ObjectNode event)
Notifies the process monitor delegate with the specified event.
|
void |
onCompletion(Step step,
Coordinator.Status status)
Indicates that process step has completed.
|
void |
onOutput(Step step,
String line)
Notifies when a new line of output becomes available.
|
void |
onStart(Step step,
String command)
Indicates that process step has started.
|
public void notify(com.fasterxml.jackson.databind.node.ObjectNode event)
event - JSON event datapublic void onStart(Step step, String command)
StepProcessListeneronStart in interface StepProcessListenerstep - subject stepcommand - actual command executed; includes run-time substitutionspublic void onCompletion(Step step, Coordinator.Status status)
StepProcessListeneronCompletion in interface StepProcessListenerstep - subject stepstatus - step completion statuspublic void onOutput(Step step, String line)
StepProcessListeneronOutput in interface StepProcessListenerstep - subject stepline - line of outputCopyright © 2015. All rights reserved.