Uh oh!
There was an error while loading. Please reload this page.
list all files under specific folder - #307
Conversation
CLA Assistant Lite bot All contributors have signed the CLA ✍️ |
I-Iege
commented
Jan 27, 2021
I have read the CLA Document and I hereby sign the CLA |
I-Iege
commented
Jan 29, 2021
recheckcla |
7bbf59a to
42a5671CompareI-Iege
commented
Feb 1, 2021
recheckcla |
I-Iege
commented
Feb 1, 2021
I have read the CLA Document and I hereby sign the CLA |
I-Iege
commented
Feb 1, 2021
recheckcla |
| import java.util.List; | ||
| public interface FileList { |
There was a problem hiding this comment.
Do we really need this new interface (and its implementing class)?
I can see that it is used as the returned value for this new API -
FileList list = folder.list(deep, listFolders, timeStamps);
but the returned value of this API can also be -
List<ListItem>= folder.list(deep, listFolders, timeStamps);
There was a problem hiding this comment.
i think i need it for the deserialization because the return data has this structure:
String uri;
Date created;
ListItemImpl[] files;
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
b642e42 to
cd13ec2Compare| import java.util.List; | ||
| public interface FileList { |
There was a problem hiding this comment.
i think i need it for the deserialization because the return data has this structure:
String uri;
Date created;
ListItemImpl[] files;
bfea74c to
f1ec060Compare
i want to have the info of all files under a specific directory, the folder.getChildren not enough because i dont want to do large recursive calls. There is a rest api call for this:
https://www.jfrog.com/confluence/display/rtf/artifactory+rest+api#ArtifactoryRESTAPI-FileList