trait LayersAnalysis extends ClassycleDependencyFinder
This trait allows to define expected dependencies between packages layers
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- LayersAnalysis
- ClassycleDependencyFinder
- DependencyFinder
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Type Members
-
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.
The Layer class represent a list of packages.
If those packages share a common prefix, it will be stored in the
prefixmember -
case class
Layers
(layers: Seq[Layer]) extends Product with Serializable
This class represents an ordered set of layers, where each package on a given layer can only depend on packages defined in lower layers
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[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
val
fs: FilePathReader.type
- Definition Classes
- ClassycleDependencyFinder
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
getPackageDependents(sourceDir: DirectoryPath, targetDir: DirectoryPath): (String) ⇒ Operation[Seq[Dependency]]
- returns
the classes depending on the classes of package, given its name
- Definition Classes
- ClassycleDependencyFinder → DependencyFinder
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
layer(names: String*): Layer
- returns
a new Layer object. If a prefix is defined, it will apply to each given name
-
def
layers(ls: Layer*): Layers
- returns
a new Layers object, composed of other layers. If a prefix is defined it will apply to each layer
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
implicit
def
toLayer(s: String): Layer
this implicit definition allows to use a single string instead of a Layer object
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )