trait AsyncShell extends InputActionCreator
An asynchronous shell. It processes commands and tab-completions asynchronously.
- Alphabetic
- By Inheritance
- AsyncShell
- InputActionCreator
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
-
abstract
def
inputAction[T](action: Function[compat.Shell, T]): InputAction[T]
Creates a new
InputAction
with the given actionCreates a new
InputAction
with the given action- action
the action for the InputAction to perform
- returns
an InputAction for the given action
- Definition Classes
- InputActionCreator
-
abstract
def
terminate0(): Future[Void]
Terminates this asynchronous shell so that it will no longer process inputs.
Terminates this asynchronous shell so that it will no longer process inputs. It cannot be terminated more than once.
Note: Invoking this method does NOT interrupt an action which is already being processed.
- returns
a Future which will be completed once the shell is fully terminated
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
execution(line: String): InputAction[Void]
Creates an
InputAction
for executing a line.Creates an
InputAction
for executing a line.- line
the line to be executed
- returns
an input action for executing the given line
- Definition Classes
- InputActionCreator
- See also
Shell#executeLine(String)
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tabCompletion(line: String): InputAction[List[String]]
Creates an
InputAction
for tab-completing a line.Creates an
InputAction
for tab-completing a line.- line
the line to be tab-completed
- returns
an input action for tab-completing the given line
- Definition Classes
- InputActionCreator
- See also
Shell#tabComplete(String)
-
def
terminate(): CompletionStage[Void]
Terminates this asynchronous shell so that it will no longer process inputs.
Terminates this asynchronous shell so that it will no longer process inputs. It cannot be terminated more than once.
Note: Invoking this method does NOT interrupt an action which is already being processed.
- returns
a
CompletionStage
which will be completed once the shell is fully terminated
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )