Class RemoteFileStructure
- java.lang.Object
-
- jetbrains.buildServer.agentServer.RemoteFileStructure
-
public class RemoteFileStructure extends Object
Represents the remote file structure. Node information includes the remote file name and file size, and possibly children.- Since:
- 6.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
-
-
Constructor Summary
Constructors Constructor Description RemoteFileStructure(String fullRemoteName, List<RemoteFileStructure> children, long size)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static RemoteFileStructurecreateForFetchedDirectory(File directory, List<RemoteFileStructure> children)static RemoteFileStructurecreateForFile(File file)static RemoteFileStructurecreateForNotFetchedDirectory(File directory)List<RemoteFileStructure>getChildren()StringgetFullRemoteName()longgetSize()booleanisDirectory()voidsetRemoteUpdater(RemoteFileStructureUpdater remoteUpdater)
-
-
-
Constructor Detail
-
RemoteFileStructure
public RemoteFileStructure(@NotNull String fullRemoteName, @Nullable List<RemoteFileStructure> children, long size)
-
-
Method Detail
-
createForFile
@NotNull public static RemoteFileStructure createForFile(@NotNull File file)
-
createForFetchedDirectory
@NotNull public static RemoteFileStructure createForFetchedDirectory(@NotNull File directory, @NotNull List<RemoteFileStructure> children)
-
createForNotFetchedDirectory
public static RemoteFileStructure createForNotFetchedDirectory(@NotNull File directory)
-
getFullRemoteName
@NotNull public String getFullRemoteName()
-
getSize
public long getSize()
-
isDirectory
public boolean isDirectory()
-
getChildren
@NotNull public List<RemoteFileStructure> getChildren()
-
setRemoteUpdater
public void setRemoteUpdater(@NotNull RemoteFileStructureUpdater remoteUpdater)
-
-