Class

org.specs2.analysis.LayersAnalysis

Layer

Related Doc: package LayersAnalysis

Permalink

case class Layer(names: Set[String], prefix: String = "", sourceDir: DirectoryPath = "src" / "main" / "scala", targetDir: DirectoryPath = ..., included: Seq[String] = Seq(), excluded: Seq[String] = Seq()) 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
Visibility
  1. Public
  2. All

Instance Constructors

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

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  6. def dependsOn(otherLayer: Layer): Operation[Set[Dependency]]

    Permalink

    returns

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

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

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

    Permalink

    use regexes to exclude fully qualified class names from the layer

  9. val excluded: Seq[String]

    Permalink
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  11. lazy val getDependents: Operation[Set[Dependency]]

    Permalink

    returns

    the list of dependents of each package of this layer

  12. def inSourceDir(dir: DirectoryPath): Layer

    Permalink

    specify a source directory for this layer packages

  13. def inTargetDir(dir: DirectoryPath): Layer

    Permalink

    specify a target directory for this layer packages

  14. def inThisLayer(d: Dependency): Boolean

    Permalink

    returns

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

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

    Permalink

    use regexes to include fully qualified class names in the layer

  16. val included: Seq[String]

    Permalink
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. val names: Set[String]

    Permalink
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  21. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  22. lazy val packageNames: Set[String]

    Permalink

    returns

    the package names

  23. val prefix: String

    Permalink
  24. val sourceDir: DirectoryPath

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

    Permalink
    Definition Classes
    AnyRef
  26. val targetDir: DirectoryPath

    Permalink
  27. def toString(): String

    Permalink
    Definition Classes
    Layer → AnyRef → Any
  28. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(): Unit

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

    Permalink

    specify a prefix for this layer packages

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped