Record Class FilePage
java.lang.Object
java.lang.Record
net.bluemind.node.api.FilePage
- Record Components:
files- regular files of this pagecursor- name of the last scanned entry, to pass asafterto get the next page, null when the page is emptytruncated- true when entries were left out because the page was full
public record FilePage(List<FileDescription> files, String cursor, boolean truncated)
extends Record
A page of
INodeClient.browsePage(String, String, int, String),
ordered by file name.-
Constructor Summary
ConstructorsConstructorDescriptionFilePage(List<FileDescription> files, String cursor, boolean truncated) Creates an instance of aFilePagerecord class. -
Method Summary
Modifier and TypeMethodDescriptioncursor()Returns the value of thecursorrecord component.static FilePageempty()final booleanIndicates whether some other object is "equal to" this one.files()Returns the value of thefilesrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.booleanReturns the value of thetruncatedrecord component.
-
Constructor Details
-
FilePage
-
-
Method Details
-
empty
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
files
-
cursor
-
truncated
-