o

sbt.internal

PluginDiscovery

object PluginDiscovery

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. PluginDiscovery
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class DiscoveredNames extends AnyRef

    Names of top-level modules that subclass sbt plugin-related classes: AutoPlugin, and BuildDef.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def binaryModuleNames(classpath: Seq[File], loader: ClassLoader, resourceName: String): Seq[String]

    Obtains the list of modules identified in all resource files resourceName from loader that are on classpath.

    Obtains the list of modules identified in all resource files resourceName from loader that are on classpath. classpath and loader are both required to ensure that loader doesn't bring in any resources outside of the intended classpath, such as from parent loaders.

  6. def binarySourceModuleNames(classpath: Seq[Attributed[File]], loader: ClassLoader, resourceName: String, subclasses: String*): Seq[String]

    Discovers the names of top-level modules listed in resources named resourceName as per binaryModuleNames or available as analyzed source and extending from any of subclasses as per sourceModuleNames.

  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def discoverAll(data: PluginData, loader: ClassLoader): DetectedPlugins

    Discovers and loads the sbt-plugin-related top-level modules from the classpath and source analysis in data and using the provided class loader.

  9. def discoverSourceAll(analysis: CompileAnalysis): DiscoveredNames

    Discovers the sbt-plugin-related top-level modules from the provided source analysis.

  10. def emptyDiscoveredNames: DiscoveredNames
  11. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. final def notify(): Unit
    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  20. def onClasspath(classpath: Seq[File])(url: URL): Boolean

    Returns true if url is an entry in classpath.

  21. def sourceModuleNames(analysis: CompileAnalysis, subclasses: String*): Seq[String]

    Discovers top-level modules in analysis that inherit from any of subclasses.

  22. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  23. def toString(): String
    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. def writeDescriptor(names: Seq[String], dir: File, path: String): Option[File]

    Stores the module names in dir / path, one per line, unless names is empty and then the file is deleted and None returned.

  28. def writeDescriptors(names: DiscoveredNames, dir: File): Seq[File]

    Writes discovered module names to zero or more files in dir as per writeDescriptor and returns the list of files written.

  29. object Paths

    Relative paths of resources that list top-level modules that are available.

    Relative paths of resources that list top-level modules that are available. Normally, the classes for those modules will be in the same classpath entry as the resource.

Inherited from AnyRef

Inherited from Any

Ungrouped