public interface Supervisor
| Modifier and Type | Method and Description |
|---|---|
void |
event(Event e)
An event sent from the agent.
|
byte[] |
getFile(java.lang.String sha)
Return the contents of the file that has the given SHA-1.
|
boolean |
stderr(java.lang.String out)
Redirected standard error.
|
boolean |
stdout(java.lang.String out)
Redirected standard output
|
void event(Event e) throws java.lang.Exception
e - the eventjava.lang.Exceptionboolean stdout(java.lang.String out)
throws java.lang.Exception
out - the text that was redirectedjava.lang.Exceptionboolean stderr(java.lang.String out)
throws java.lang.Exception
out - the text that was redirectedjava.lang.Exceptionbyte[] getFile(java.lang.String sha)
throws java.lang.Exception
sha - the SHA-1java.lang.ExceptionCopyright (c) aQute SARL (2000, 2020) and others. All Rights Reserved.