Class StreamWatcher

All Implemented Interfaces:
Runnable, ArooaContextAware, ArooaSessionAware, Outbound<InstantEvent<String>>, PropertyChangeNotifier, Iconic, LogEnabled, Resettable, Stateful, Stoppable

public class StreamWatcher extends EventServiceBase<InstantEvent<String>>

Description

Watch a stream for an instance of a string. Typically this watcher (and its trigger) will be started before a job that produces some output that needs to be monitored.

A typical use case would be running an exec job that tails a log file, and this watcher is looking for the word "Error" or some such.