Package com.kosdev.kos.core.service.log
Class LogArchiveFile
java.lang.Object
com.kosdev.kos.core.service.log.LogArchiveFile
Information about an archive file that needs to be uploaded.
- Since:
- 7
- Version:
- 7
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongReturn the time the file was created.getFile()Return the full path to the file on the node.Return just the name of the file.Return the id of the node the file is located on.longgetSize()Return the size of the file.voidsetCreateTime(long createTime) voidvoidsetFileName(String fileName) voidvoidsetSize(long size) toString()
-
Constructor Details
-
LogArchiveFile
public LogArchiveFile()
-
-
Method Details
-
getNodeId
Return the id of the node the file is located on.- Since:
- 7
-
getFile
Return the full path to the file on the node.- Since:
- 7
-
getCreateTime
public long getCreateTime()Return the time the file was created.- Since:
- 7
-
getSize
public long getSize()Return the size of the file.- Since:
- 7
-
getFileName
Return just the name of the file.- Since:
- 7
-
toString
-
setNodeId
-
setFile
-
setCreateTime
public void setCreateTime(long createTime) -
setSize
public void setSize(long size) -
setFileName
-