| Constructor and Description |
|---|
FileTransferStatus()
Default Constructor
|
FileTransferStatus(Reference fileRef,
long fileSize,
long bytesTransferred,
Product parentProduct) |
| Modifier and Type | Method and Description |
|---|---|
double |
computePctTransferred() |
long |
getBytesTransferred() |
Reference |
getFileRef() |
Product |
getParentProduct() |
void |
setBytesTransferred(long bytesTransferred) |
void |
setFileRef(Reference fileRef) |
void |
setParentProduct(Product parentProduct) |
public FileTransferStatus()
Default Constructor
.public FileTransferStatus(Reference fileRef, long fileSize, long bytesTransferred, Product parentProduct)
fileRef - The file reference being transferred.bytesTransferred - The number of bytes transferred so far for this file.parentProduct - The parent Product that this file reference belongs to.public long getBytesTransferred()
public void setBytesTransferred(long bytesTransferred)
bytesTransferred - The bytesTransferred to set.public Reference getFileRef()
public void setFileRef(Reference fileRef)
fileRef - The fileRef to set.public Product getParentProduct()
public void setParentProduct(Product parentProduct)
parentProduct - The parentProduct to set.public double computePctTransferred()
Copyright © 1999–2017 Apache OODT. All rights reserved.