public interface Shell
Modifier and Type | Method and Description |
---|---|
void |
close()
Close the shell.
|
Job |
createJob(List<CliToken> line)
Create a job, the created job should then be executed with the
Job.run() method. |
Job |
createJob(String line)
See
createJob(List) |
JobController |
jobController() |
Session |
session() |
void |
setPrompt(java.util.function.Function<Session,String> prompt)
Set a new prompt in this session.
|
Job createJob(List<CliToken> line)
Job.run()
method.line
- the command line creating this jobJob createJob(String line)
createJob(List)
JobController jobController()
Session session()
void setPrompt(java.util.function.Function<Session,String> prompt)
prompt
- the new prompt will be calculated when it's needed.void close()
Copyright © 2023 Eclipse. All rights reserved.