Package aQute.bnd.build
Interface RunSession
-
public interface RunSession
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcancel()intgetAgent()intgetExitCode()java.lang.StringgetHost()intgetJdb()java.lang.StringgetLabel()java.lang.StringgetName()java.util.Map<java.lang.String,?>getProperties()longgetTimeout()intlaunch()voidstderr(java.lang.Appendable app)voidstdin(java.lang.String input)voidstdout(java.lang.Appendable app)booleanvalidate(java.util.concurrent.Callable<java.lang.Boolean> isCancelled)voidwaitTillStarted(long ms)
-
-
-
Method Detail
-
getName
java.lang.String getName()
-
getLabel
java.lang.String getLabel()
-
getJdb
int getJdb()
-
stderr
void stderr(java.lang.Appendable app) throws java.lang.Exception- Throws:
java.lang.Exception
-
stdout
void stdout(java.lang.Appendable app) throws java.lang.Exception- Throws:
java.lang.Exception
-
stdin
void stdin(java.lang.String input) throws java.lang.Exception- Throws:
java.lang.Exception
-
launch
int launch() throws java.lang.Exception- Throws:
java.lang.Exception
-
cancel
void cancel() throws java.lang.Exception- Throws:
java.lang.Exception
-
getProperties
java.util.Map<java.lang.String,?> getProperties()
-
getExitCode
int getExitCode()
-
getHost
java.lang.String getHost()
-
getAgent
int getAgent()
-
waitTillStarted
void waitTillStarted(long ms) throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
getTimeout
long getTimeout()
-
validate
boolean validate(java.util.concurrent.Callable<java.lang.Boolean> isCancelled) throws java.lang.Exception- Throws:
java.lang.Exception
-
-