org.specs2.analysis.LayersAnalysis

Layer

case class Layer(names: Set[String], prefix: String = "", sourceDir: DirectoryPath = ..., targetDir: DirectoryPath = ..., included: Seq[String] = ..., excluded: Seq[String] = ...) extends Product with Serializable

The Layer class represent a list of packages.

If those packages share a common prefix, it will be stored in the prefix member

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Layer
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Layer(names: Set[String], prefix: String = "", sourceDir: DirectoryPath = ..., targetDir: DirectoryPath = ..., included: Seq[String] = ..., excluded: Seq[String] = ...)

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. def dependsOn(otherLayer: Layer): Action[Set[Dependency]]

    returns

    the list of dependencies showing that this layer depends on the other layer meaning thisLayer -- depends on --> otherLayer

  9. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  10. def exclude(names: String*): Layer

    use regexes to exclude fully qualified class names from the layer

  11. val excluded: Seq[String]

  12. def finalize(): Unit

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

    Definition Classes
    AnyRef → Any
  14. lazy val getDependents: Action[Set[Dependency]]

    returns

    the list of dependents of each package of this layer

  15. def inSourceDir(dir: DirectoryPath): Layer

    specify a source directory for this layer packages

  16. def inTargetDir(dir: DirectoryPath): Layer

    specify a target directory for this layer packages

  17. def inThisLayer(d: Dependency): Boolean

    returns

    true if the dependent class of this dependency has its package in this layer

  18. def include(names: String*): Layer

    use regexes to include fully qualified class names in the layer

  19. val included: Seq[String]

  20. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  21. val names: Set[String]

  22. final def ne(arg0: AnyRef): Boolean

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

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

    Definition Classes
    AnyRef
  25. lazy val packageNames: Set[String]

    returns

    the package names

  26. val prefix: String

  27. val sourceDir: DirectoryPath

  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. val targetDir: DirectoryPath

  30. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def withPrefix(p: String): Layer

    specify a prefix for this layer packages

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped