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.Exception
boolean stdout(java.lang.String out) throws java.lang.Exception
out
- the text that was redirectedjava.lang.Exception
boolean stderr(java.lang.String out) throws java.lang.Exception
out
- the text that was redirectedjava.lang.Exception
byte[] getFile(java.lang.String sha) throws java.lang.Exception
sha
- the SHA-1java.lang.Exception
Copyright (c) aQute SARL (2000, 2016) and others. All Rights Reserved.