class StateManager extends AnyRef
Represents a manager for the backend state of the REPL.
- Alphabetic
- By Inheritance
- StateManager
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new StateManager()
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
-
def
addScalaVirtualMachine(scalaVirtualMachine: ScalaVirtualMachine): Unit
Adds a new Scala virtual machine to the collection held by the state in this manager.
Adds a new Scala virtual machine to the collection held by the state in this manager.
- scalaVirtualMachine
The new Scala virtual machine to add
-
def
addSourcePath(sourcePath: Path): Unit
Adds a new source path to the collection held by the state in this manager.
Adds a new source path to the collection held by the state in this manager.
- sourcePath
The new Scala virtual machine to add
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clear(): Unit
Clears the state held by the manager, handling all appropriate shutdowns.
-
def
clearActiveDebugger(): Unit
Clears the active debugger, invoking its shutdown procedure.
-
def
clearActiveThread(): Unit
Clears the active thread.
-
def
clearActiveThreadGroup(): Unit
Clears the active thread group.
-
def
clearScalaVirtualMachines(): Unit
Clears the collection of Scala virtual machines.
-
def
clearSourcePaths(): Unit
Clears the collection of source paths.
-
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
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
-
def
state: State
Returns the current state held by the manager.
Returns the current state held by the manager.
- returns
The current state
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
def
updateActiveDebugger(debugger: Debugger): Unit
Updates the active debugger held by the state in this manager.
Updates the active debugger held by the state in this manager.
- debugger
The debugger to serve as the active debugger
-
def
updateActiveProfile(name: String): Unit
Updates the active profile for the dummy and active virtual machines.
Updates the active profile for the dummy and active virtual machines.
- name
The name of the new profile
-
def
updateActiveThread(thread: ThreadInfo): Unit
Updates the active thread held by the state in this manager.
Updates the active thread held by the state in this manager.
- thread
The thread to serve as the active thread
-
def
updateActiveThreadGroup(threadGroup: ThreadGroupInfo): Unit
Updates the active thread group held by the state in this manager.
Updates the active thread group held by the state in this manager.
- threadGroup
The thread group to serve as the active thread group
-
def
updateScalaVirtualMachines(scalaVirtualMachines: Seq[ScalaVirtualMachine]): Unit
Updates the collection of Scala virtual machines held by the state in this manager.
Updates the collection of Scala virtual machines held by the state in this manager. Syncs their profiles to the current active profile.
- scalaVirtualMachines
The new collection of Scala virtual machines
-
def
updateSourcePaths(sourcePaths: Seq[Path]): Unit
Updates the collection of source paths held by the state in this manager.
Updates the collection of source paths held by the state in this manager.
- sourcePaths
The new collection of source paths
-
def
updateState(newState: State): Unit
Updates the entire state contained by this manager.
Updates the entire state contained by this manager.
- newState
The new state held by this manager
-
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( ... )