FileCollection class abstract
A collection of File and Directory which can be used to declare a set of inputs or outputs for a Task.
- Implementers
Constructors
- FileCollection()
-
const
Properties
-
directories
→ List<
DirectoryEntry> -
All directory paths included in this collection.
no setter
-
files
→ Set<
String> -
File paths configured in this collection.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- isEmpty → bool
-
Returns true if this collection does not contain any file entity,
false otherwise.
no setter
- isNotEmpty → bool
-
Returns true if this collection contains at least one file entity,
false otherwise.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
includedEntities(
) → Iterable< FileSystemEntity> - All included entities in this collection.
-
includesDir(
String dir) → bool - Check if this collection includes a directory path.
-
includesFile(
String file) → bool - Check if this collection includes a file path.
-
intersection(
FileCollection other) → Set< String> - Compute the intersection between this collection and another.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resolve(
) → Stream< ResolvedEntity> - Resolve all FileSystemEntitys inside this collection.
-
resolveDirectories(
) → Stream< Directory> -
Resolve the
Directory
s inside this collection. -
resolveFiles(
) → Stream< File> -
Resolve the
File
s inside this collection. -
toString(
) → String -
A string representation of this object.
override
-
union(
FileCollection other) → FileCollection -
The union between this file collection and
other
.
Operators
-
operator +(
FileCollection other) → FileCollection - Alias operator for the union method.
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- empty → const FileCollection
- Get the empty FileCollection.