ObjectRunner

dotty.tools.runner.ObjectRunner
object ObjectRunner extends CommonRunner

An object that runs another object specified by name.

Attributes

Authors:

Lex Spoon

Graph
Supertypes
trait CommonRunner
class Object
trait Matchable
class Any
Self type

Members list

Value members

Inherited methods

def run(urls: Seq[URL], objectName: String, arguments: Seq[String]): Unit

Run a given object, specified by name, using a specified classpath and argument list.

Run a given object, specified by name, using a specified classpath and argument list.

Attributes

Inherited from:
CommonRunner
def runAndCatch(urls: Seq[URL], objectName: String, arguments: Seq[String]): Option[Throwable]

Catches any non-fatal exception thrown by run (in the case of InvocationTargetException, unwrapping it) and returns it in an Option.

Catches any non-fatal exception thrown by run (in the case of InvocationTargetException, unwrapping it) and returns it in an Option.

Attributes

Inherited from:
CommonRunner