jetbrains.buildServer.agentServer
Class RemoteFileStructure
java.lang.Object
jetbrains.buildServer.agentServer.RemoteFileStructure
public class RemoteFileStructure
- extends java.lang.Object
Represents the remote file structure. Node information includes the file name, relative path and file size.
Files and directories can be distinguished via getSize() method: by convention, the size of directory
is -1, while the file size is always non-negative.
- Since:
- 6.0
- Author:
- Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIRECTORY_SIZE
public static final long DIRECTORY_SIZE
- See Also:
- Constant Field Values
RemoteFileStructure
public RemoteFileStructure(java.lang.String fileName,
java.lang.String relativeName,
long size,
java.util.List<RemoteFileStructure> children)
RemoteFileStructure
public RemoteFileStructure(java.lang.String fileName,
java.lang.String relativeName,
long size)
getFileName
public java.lang.String getFileName()
getRelativeName
public java.lang.String getRelativeName()
getSize
public long getSize()
getChildren
public java.util.List<RemoteFileStructure> getChildren()