object Tasks
- Alphabetic
- By Inheritance
- Tasks
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
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
clean(state: State, targets: List[Project], includeDeps: Boolean): Task[State]
Cleans the previous results of the projects specified in
targets
.Cleans the previous results of the projects specified in
targets
.- state
The current state of Bloop.
- targets
The projects to clean.
- includeDeps
Do not run clean for dependencies.
- returns
The new state of Bloop after cleaning.
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
console(state: State, project: Project, noRoot: Boolean): Task[State]
Starts a Scala REPL with the dependencies of
project
on the classpath, includingproject
ifnoRoot
is false, excluding it otherwise.Starts a Scala REPL with the dependencies of
project
on the classpath, includingproject
ifnoRoot
is false, excluding it otherwise.- state
The current state of Bloop.
- project
The project for which to start the REPL.
- noRoot
If false, include
project
on the classpath. Do not include it otherwise.- returns
The new state of Bloop.
-
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] )
-
def
findMainClasses(state: State, project: Project): List[String]
Finds the main classes in
project
.Finds the main classes in
project
.- state
The current state of Bloop.
- project
The project for which to find the main classes.
- returns
An array containing all the main classes that were detected.
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
persist(state: State, log: (String) ⇒ Unit): Task[Unit]
Persists every analysis file (the state of the incremental compiler) on disk in parallel.
Persists every analysis file (the state of the incremental compiler) on disk in parallel.
Logging during the execution of
persist
is not straight-forward because this task is executed asynchronously after a client disconnects and, therefore, the state output streams cannot be used as there is no guarantee they will not be closed.- state
The current state of Bloop
- log
A log function based on the call-site (necessary to redirect to ngout for CLI applications and to BSP loggers during a BSP session).
- returns
The task that will persist all the results in parallel.
- def reasonOfInvalidPath(output: Path, extension: String): Option[String]
- def reasonOfInvalidPath(output: Path): Option[String]
-
def
runJVM(state: State, project: Project, javaEnv: JavaEnv, cwd: AbsolutePath, fqn: String, args: Array[String], skipJargs: Boolean): Task[State]
Runs the fully qualified class
className
inproject
.Runs the fully qualified class
className
inproject
.- state
The current state of Bloop.
- project
The project to run.
- cwd
The directory in which to start the forked JVM.
- fqn
The fully qualified name of the main class.
- args
The arguments to pass to the main class.
- skipJargs
Skip the interpretation of
-J
options inargs
.
-
def
runNativeOrJs(state: State, project: Project, cwd: AbsolutePath, fqn: String, args: Array[String]): Task[State]
Runs the fully qualified class
className
in a Native or JavaScriptproject
.Runs the fully qualified class
className
in a Native or JavaScriptproject
.- state
The current state of Bloop.
- project
The project to run.
- cwd
The directory in which to start the forked run process.
- fqn
The fully qualified name of the main class.
- args
The arguments to pass to the main class.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
test(state: State, projectsToTest: List[Project], userTestOptions: List[String], testFilter: (String) ⇒ Boolean, testEventHandler: TestSuiteEventHandler): Task[State]
Run the tests for all projects in
projectsToTest
.Run the tests for all projects in
projectsToTest
.The projects have been already compiled.
- state
The current state of Bloop.
- projectsToTest
The projects we want to run tests for.
- testFilter
A function that filters fully qualified test class names.
- returns
A new state after testing.
-
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
- @native() @throws( ... )