public class Monitor extends Application implements QueryResultHandler
Constructor and Description |
---|
Monitor() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
description() |
void |
handleEmptyResult(QueryResult r) |
void |
handleQueryResult(QueryResult r)
Handle the result of a query.
|
boolean |
needsStorage() |
void |
run(java.lang.String... args) |
java.lang.String |
synopsis()
The synopsis is a short description of the required or optional arguments.
|
boolean |
writesToStorage() |
name
public void run(java.lang.String... args)
run
in class Application
args
- The arguments to start the program.public java.lang.String description()
description
in class Application
public java.lang.String synopsis()
Application
synopsis
in class Application
public boolean needsStorage()
needsStorage
in class Application
public boolean writesToStorage()
writesToStorage
in class Application
public void handleQueryResult(QueryResult r)
QueryResultHandler
handleQueryResult
in interface QueryResultHandler
r
- The result to handlepublic void handleEmptyResult(QueryResult r)
handleEmptyResult
in interface QueryResultHandler