case class Layer(names: Set[String], prefix: String = "", sourceDir: DirectoryPath = "src" / "main" / "scala", targetDir: DirectoryPath = "target" / FileName.unsafe("scala-"+releaseVersion.orElse(developmentVersion).getOrElse("2.9.1")) / "classes", 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
- Alphabetic
- By Inheritance
- Layer
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new Layer(names: Set[String], prefix: String = "", sourceDir: DirectoryPath = "src" / "main" / "scala", targetDir: DirectoryPath = "target" / FileName.unsafe("scala-"+releaseVersion.orElse(developmentVersion).getOrElse("2.9.1")) / "classes", included: Seq[String] = Seq(), excluded: Seq[String] = Seq())
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def dependsOn(otherLayer: Layer): Operation[Set[Dependency]]
- returns
the list of dependencies showing that this layer depends on the
otherlayer meaning thisLayer -- depends on --> otherLayer
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def exclude(names: String*): Layer
use regexes to exclude fully qualified class names from the layer
- val excluded: Seq[String]
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- lazy val getDependents: Operation[Set[Dependency]]
- returns
the list of dependents of each package of this layer
- def inSourceDir(dir: DirectoryPath): Layer
specify a source directory for this layer packages
- def inTargetDir(dir: DirectoryPath): Layer
specify a target directory for this layer packages
- def inThisLayer(d: Dependency): Boolean
- returns
true if the dependent class of this dependency has its package in this layer
- def include(names: String*): Layer
use regexes to include fully qualified class names in the layer
- val included: Seq[String]
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val names: Set[String]
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- lazy val packageNames: Set[String]
- returns
the package names
- val prefix: String
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sourceDir: DirectoryPath
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val targetDir: DirectoryPath
- def toString(): String
- Definition Classes
- Layer → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- def withPrefix(p: String): Layer
specify a prefix for this layer packages