org.specs2.analysis.LayersAnalysis

Layer

case class Layer (names: Set[String], prefix: String, sourceDir: String, 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. Hide All
  2. Show all
  1. Layer
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
Visibility
  1. Public
  2. All

Instance Constructors

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

Value Members

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

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

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

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

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

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

    Attributes
    final
    Definition Classes
    Any
  7. def canEqual (arg0: Any): Boolean

    Definition Classes
    Layer → Equals
  8. def clone (): AnyRef

    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws()
  9. def dependsOn (otherLayer: Layer): Set[Dependency]

    returns

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

  10. def eq (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  11. def equals (arg0: Any): Boolean

    Definition Classes
    Layer → Equals → AnyRef → Any
  12. def exclude (names: String*): Layer

    use regexes to exclude fully qualified class names from the layer

  13. val excluded : Seq[String]

  14. def finalize (): Unit

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

    Attributes
    final
    Definition Classes
    AnyRef → Any
  16. lazy val getDependents : Set[Dependency]

    returns

    the list of dependents of each package of this layer

  17. def hashCode (): Int

    Definition Classes
    Layer → AnyRef → Any
  18. def inSourceDir (s: String): Layer

    specify a source directory for this layer packages

  19. def inThisLayer (d: Dependency): Boolean

    returns

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

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

    use regexes to include fully qualified class names in the layer

  21. val included : Seq[String]

  22. def isInstanceOf [T0] : Boolean

    Attributes
    final
    Definition Classes
    Any
  23. val names : Set[String]

  24. def ne (arg0: AnyRef): Boolean

    Attributes
    final
    Definition Classes
    AnyRef
  25. def notify (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  26. def notifyAll (): Unit

    Attributes
    final
    Definition Classes
    AnyRef
  27. lazy val packageNames : Set[String]

    returns

    the package names

  28. val prefix : String

  29. def productArity : Int

    Definition Classes
    Layer → Product
  30. def productElement (arg0: Int): Any

    Definition Classes
    Layer → Product
  31. def productIterator : Iterator[Any]

    Definition Classes
    Product
  32. def productPrefix : String

    Definition Classes
    Layer → Product
  33. val sourceDir : String

  34. def synchronized [T0] (arg0: ⇒ T0): T0

    Attributes
    final
    Definition Classes
    AnyRef
  35. def toString (): String

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

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

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

    Attributes
    final
    Definition Classes
    AnyRef
    Annotations
    @throws()
  39. def withPrefix (p: String): Layer

    specify a prefix for this layer packages

Deprecated Value Members

  1. def productElements : Iterator[Any]

    Definition Classes
    Product
    Annotations
    @deprecated
    Deprecated

    use productIterator instead

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any