Package cz.pumpitup.pn5.remote.samba
Class SambaListResponse
- java.lang.Object
-
- cz.pumpitup.pn5.remote.samba.SambaResponse
-
- cz.pumpitup.pn5.remote.samba.SambaListResponse
-
public class SambaListResponse extends SambaResponse
-
-
Field Summary
Fields Modifier and Type Field Description Collection<Map<String,Object>>filesAndFolders-
Fields inherited from class cz.pumpitup.pn5.remote.samba.SambaResponse
fullResponse, sambaApplication
-
-
Constructor Summary
Constructors Constructor Description SambaListResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SambaListResponseassertThatContainsFileOrFolderNamed(String fileOrFolder)Asserts that the returned list of elements in a folder does contain the specific file/folder.SambaListResponseassertThatDoesNotContainFileOrFolderNamed(String fileOrFolder)Asserts that the returned list of elements in a folder does not contain the specific file/folder.Collection<Map<String,Object>>getFilesAndFolders()SambaListResponseprintFilesInformation()-
Methods inherited from class cz.pumpitup.pn5.remote.samba.SambaResponse
andThen, setFullResponse
-
-
-
-
Field Detail
-
filesAndFolders
public Collection<Map<String,Object>> filesAndFolders
-
-
Method Detail
-
printFilesInformation
public SambaListResponse printFilesInformation()
-
getFilesAndFolders
public Collection<Map<String,Object>> getFilesAndFolders()
-
assertThatContainsFileOrFolderNamed
public SambaListResponse assertThatContainsFileOrFolderNamed(String fileOrFolder)
Asserts that the returned list of elements in a folder does contain the specific file/folder.- Parameters:
fileOrFolder- File or folder name to be searched in the list.
-
assertThatDoesNotContainFileOrFolderNamed
public SambaListResponse assertThatDoesNotContainFileOrFolderNamed(String fileOrFolder)
Asserts that the returned list of elements in a folder does not contain the specific file/folder.- Parameters:
fileOrFolder- File or folder name to be searched in the list.
-
-