Package org.apache.felix.service.command
Interface Process
-
- All Known Implementing Classes:
Pipe
public interface Process
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classProcess.Utils
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.io.PrintStreamerr()voiderror(int error)Set the error code for the currently running pipe.java.io.InputStreamin()booleanisTty(int fd)Check if the given descriptor for the currently running pipe is the terminal or not.Jobjob()Get the job controlling this processjava.io.PrintStreamout()
-
-
-
Method Detail
-
in
java.io.InputStream in()
-
out
java.io.PrintStream out()
-
err
java.io.PrintStream err()
-
job
Job job()
Get the job controlling this process- Returns:
- Job
-
isTty
boolean isTty(int fd)
Check if the given descriptor for the currently running pipe is the terminal or not.- Parameters:
fd- the fd- Returns:
- boolean
-
error
void error(int error)
Set the error code for the currently running pipe.- Parameters:
error- the error
-
-