ImportHook

ammonite.runtime.ImportHook
See theImportHook companion trait
object ImportHook

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
ImportHook.type

Members list

Type members

Classlikes

class BaseClasspath(plugin: Boolean) extends ImportHook

Attributes

Supertypes
trait ImportHook
class Object
trait Matchable
class Any
Known subtypes
object Classpath
class BaseIvy(plugin: Boolean) extends ImportHook

Attributes

Supertypes
trait ImportHook
class Object
trait Matchable
class Any
Known subtypes
object Ivy
object PluginIvy
object Classpath extends BaseClasspath

Attributes

Supertypes
trait ImportHook
class Object
trait Matchable
class Any
Self type
Classpath.type
object Exec extends SourceHook

Attributes

Supertypes
class SourceHook
trait ImportHook
class Object
trait Matchable
class Any
Self type
Exec.type
object File extends SourceHook

Attributes

Supertypes
class SourceHook
trait ImportHook
class Object
trait Matchable
class Any
Self type
File.type

The minimal interface that is exposed to the import hooks from the Interpreter. Open for extension, if someone needs more stuff, but by default this is what is available.

The minimal interface that is exposed to the import hooks from the Interpreter. Open for extension, if someone needs more stuff, but by default this is what is available.

Attributes

Supertypes
class Object
trait Matchable
class Any
object Ivy extends BaseIvy

Attributes

Supertypes
class BaseIvy
trait ImportHook
class Object
trait Matchable
class Any
Self type
Ivy.type

Attributes

Supertypes
trait ImportHook
class Object
trait Matchable
class Any
Self type
object PluginIvy extends BaseIvy

Attributes

Supertypes
class BaseIvy
trait ImportHook
class Object
trait Matchable
class Any
Self type
PluginIvy.type
object Repo extends ImportHook

Attributes

Supertypes
trait ImportHook
class Object
trait Matchable
class Any
Self type
Repo.type
object Result

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
Result.type
sealed trait Result

The result of processing an ImportHook. Can be either a source-file to evaluate, or additional files/folders/jars to put on the classpath

The result of processing an ImportHook. Can be either a source-file to evaluate, or additional files/folders/jars to put on the classpath

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class ClassPath
class Repo
class Source
class SourceHook(exec: Boolean) extends ImportHook

Attributes

Supertypes
trait ImportHook
class Object
trait Matchable
class Any
Known subtypes
object Exec
object File
object URL extends ImportHook

Attributes

Supertypes
trait ImportHook
class Object
trait Matchable
class Any
Self type
URL.type

Value members

Concrete methods

def resolveFiles(tree: ImportTree, currentScriptPath: Path, extensions: Seq[String]): (Seq[(RelPath, Option[String])], Seq[Path], Seq[Path])

Concrete fields

val defaults: Map[Seq[String], ImportHook]