Record Class Copier.Source
java.lang.Object
java.lang.Record
org.jdrupes.builder.core.Copier.Source
- Record Components:
tree- the tree to copysubdir- a subdirectory of the destination set withCopier.into(Path)filter- the filter
- Enclosing class:
Copier
public static record Copier.Source(FileTree<?> tree, Path subdir, BiConsumer<InputStream, OutputStream> filter)
extends Record
A source description.
-
Constructor Summary
ConstructorsConstructorDescriptionSource(FileTree<?> tree, Path subdir, BiConsumer<InputStream, OutputStream> filter) Creates an instance of aSourcerecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.filter()Returns the value of thefilterrecord component.final inthashCode()Returns a hash code value for this object.subdir()Returns the value of thesubdirrecord component.final StringtoString()Returns a string representation of this record class.FileTree<?> tree()Returns the value of thetreerecord component.
-
Constructor Details
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
tree
-
subdir
-
filter
-