case class InputTree[F[_]](textInputs: Seq[TextInput[F]] = Nil, binaryInputs: Seq[BinaryInput[F]] = Nil, parsedResults: Seq[ParserResult] = Nil, providedPaths: Seq[StaticDocument] = Nil, sourcePaths: Seq[FilePath] = Nil) extends Product with Serializable
A (virtual) tree of input documents, either obtained from scanning a directory recursively or constructed programmatically (or a mix of both).
Even though the documents are specified as a flat sequence, they logically form a tree based on their virtual path.
- Alphabetic
- By Inheritance
- InputTree
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new InputTree(textInputs: Seq[TextInput[F]] = Nil, binaryInputs: Seq[BinaryInput[F]] = Nil, parsedResults: Seq[ParserResult] = Nil, providedPaths: Seq[StaticDocument] = Nil, sourcePaths: Seq[FilePath] = Nil)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
- def +(providedPath: StaticDocument): InputTree[F]
- def +(parsedResult: ParserResult): InputTree[F]
- def +(binaryInput: BinaryInput[F]): InputTree[F]
- def +(textInput: TextInput[F]): InputTree[F]
-
def
++(other: InputTree[F]): InputTree[F]
Merges the inputs of two trees recursively.
Merges the inputs of two trees recursively.
This method does not perform any de-duplication in case both trees contain entries with the same virtual path, which would lead to errors when such a tree is used as input for a transformation. If one tree should take precedence over the other in case of duplicates, use
overrideWith
instead. -
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
allPaths: Seq[Path]
A collection of all paths in this input tree, which may contain duplicates.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- val binaryInputs: Seq[BinaryInput[F]]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
overrideWith(overrides: InputTree[F]): InputTree[F]
Overrides inputs in this instance with the provided inputs.
Overrides inputs in this instance with the provided inputs.
Merges the inputs of two trees recursively, like the
++
method, but with the main difference that in case both trees contain an entry with the same virtual path, the one in the overriding tree will take precedence and the one in this tree will be removed. - val parsedResults: Seq[ParserResult]
- val providedPaths: Seq[StaticDocument]
-
def
remove(paths: Set[Path]): InputTree[F]
Returns a new input tree with all inputs matching the provided exclusions removed from this tree.
- val sourcePaths: Seq[FilePath]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- val textInputs: Seq[TextInput[F]]
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated