sbt.inc

Relations

trait Relations extends AnyRef

Provides mappings between source files, generated classes (products), and binaries. Dependencies that are tracked include internal: a dependency on a source in the same compilation group (project), external: a dependency on a source in another compilation group (tracked as the name of the class), binary: a dependency on a class or jar file not generated by a source file in any tracked compilation group, inherited: a dependency that resulted from a public template inheriting, direct: any type of dependency, including inheritance.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Relations
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def ++(o: Relations): Relations

  2. abstract def --(sources: Iterable[File]): Relations

    Drops all dependency mappings from sources.

    Drops all dependency mappings from sources. This will not remove mappings to them (that is, mappings where they are dependencies).

  3. abstract def addBinaryDep(src: File, dependsOn: File): Relations

    Records internal source file src depending on a dependency binary dependency dependsOn.

  4. abstract def addExternalDep(src: File, dependsOn: String, inherited: Boolean): Relations

    Records internal source file src as depending on class dependsOn in an external source file.

    Records internal source file src as depending on class dependsOn in an external source file. If inherited is true, this dependency is recorded as coming from a public template in src extending something in dependsOn (an inheritance dependency). Whatever the value of inherited, the dependency is also recorded as a direct dependency.

  5. abstract def addInternalSrcDeps(src: File, directDependsOn: Iterable[File], inheritedDependsOn: Iterable[File]): Relations

    Records internal source file src as having direct dependencies on internal source files directDependsOn and inheritance dependencies on inheritedDependsOn.

    Records internal source file src as having direct dependencies on internal source files directDependsOn and inheritance dependencies on inheritedDependsOn. Everything in inheritedDependsOn must be included in directDependsOn; this method does not automatically record direct dependencies like addExternalDep does.

  6. abstract def addProduct(src: File, prod: File, name: String): Relations

    Records internal source file src as generating class file prod with top-level class name.

  7. abstract def allBinaryDeps: Set[File]

    All files that are recorded as a binary dependency of a source file.

  8. abstract def allExternalDeps: Set[String]

    All files in another compilation group (project) that are recorded as a source dependency of a source file in this group.

  9. abstract def allInternalSrcDeps: Set[File]

    All files in this compilation group (project) that are recorded as a source dependency of a source file in this group.

  10. abstract def allProducts: Set[File]

    All products associated with sources.

  11. abstract def allSources: Set[File]

    All sources _with at least one product_ .

  12. abstract def binaryDep: Relation[File, File]

    The dependency relation between internal sources and binaries.

  13. abstract def binaryDeps(src: File): Set[File]

    The binary dependencies for the source file src.

  14. abstract def classNames(src: File): Set[String]

    Fully qualified names of classes generated from source file src.

  15. abstract def classes: Relation[File, String]

    The relation between a source file and the fully qualified names of classes generated from it.

  16. abstract def definesClass(name: String): Set[File]

    Source files that generated a class with the given fully qualified name.

  17. abstract def direct: Source

    The dependency relations between sources.

    The dependency relations between sources. These include both direct and inherited dependencies.

  18. abstract def externalDep: Relation[File, String]

    The dependency relation between internal and external sources.

    The dependency relation between internal and external sources. This includes both direct and inherited dependencies.

  19. abstract def externalDeps(src: File): Set[String]

    External source dependencies that internal source file src depends on.

    External source dependencies that internal source file src depends on. This includes both direct and inherited dependencies.

  20. abstract def groupBy[K](f: (File) ⇒ K): Map[K, Relations]

  21. abstract def internalSrcDep: Relation[File, File]

    The dependency relation between internal sources.

    The dependency relation between internal sources. This includes both direct and inherited dependencies.

  22. abstract def internalSrcDeps(src: File): Set[File]

    Internal source dependencies for src.

    Internal source dependencies for src. This includes both direct and inherited dependencies.

  23. abstract def produced(prod: File): Set[File]

    The source files that generated class file prod.

    The source files that generated class file prod. This is typically a set containing a single file.

  24. abstract def products(src: File): Set[File]

    The classes that were generated for source file src.

  25. abstract def publicInherited: Source

    The inheritance dependency relations between sources.

  26. abstract def srcProd: Relation[File, File]

    The relation between internal sources and generated class files.

  27. abstract def usesBinary(dep: File): Set[File]

    The source files that depend on binary file dep.

  28. abstract def usesExternal(dep: String): Set[File]

    Internal source dependencies that depend on external source file dep.

    Internal source dependencies that depend on external source file dep. This includes both direct and inherited dependencies.

  29. abstract def usesInternalSrc(dep: File): Set[File]

    Internal source files that depend on internal source dep.

    Internal source files that depend on internal source dep. This includes both direct and inherited dependencies.

Concrete Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  12. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  13. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  14. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  18. def toString(): String

    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped