[Groovy] Class ShellRunner
- org.codehaus.groovy.tools.shell.ShellRunner
- All Implemented Interfaces and Traits:
- Runnable
abstract class ShellRunner
Support for running a Shell.
Field Summary
Modifiers | Name | Description |
---|---|---|
protected Logger | log |
Properties Summary
Type | Name and description |
---|---|
boolean |
breakOnNull |
Closure |
errorHandler |
boolean |
running |
Shell |
shell |
Constructor Summary
Constructor and description |
---|
protected ShellRunner
(Shell shell) |
Methods Summary
Type Params | Return Type | Name and description |
---|---|---|
protected String |
readLine() | |
void |
run() | |
protected boolean |
work() |
Inherited Methods Summary
Methods inherited from class | Name |
---|---|
class Object | wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll |
Field Detail
protected final Logger log
Property Detail
boolean breakOnNull
Closure errorHandler
boolean running
final Shell shell
Constructor Detail
protected ShellRunner(Shell shell)
Method Detail
protected String readLine()
@Override void run()
protected boolean work()
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.5.14/html/gapi/org/codehaus/groovy/tools/shell/ShellRunner.html