public class FileTransferOutcome extends TransferOutcome
Constructor and Description |
---|
FileTransferOutcome(String fileName)
Creates an instance with successfully added tree.
|
Modifier and Type | Method and Description |
---|---|
String |
fileName()
Returns the successfully transfer a file.
|
String |
getDest() |
String |
getFilename() |
Long |
getTotal_size() |
Long |
getTransferredBytes() |
Long |
getTransferTime() |
void |
setDest(String dest) |
void |
setFilename(String filename) |
void |
setTotal_size(Long total_size) |
void |
setTransferredBytes(Long transferredBytes) |
void |
setTransferTime(Long transferTime) |
String |
toString() |
failure, getException, isFailure, isSuccess, setException
public FileTransferOutcome(String fileName)
tree
- the treepublic Long getTransferTime()
public void setTransferTime(Long transferTime)
public String getDest()
public void setDest(String dest)
public String fileName()
null
if the outcome indicates a failurepublic String getFilename()
public void setFilename(String filename)
public Long getTransferredBytes()
public void setTransferredBytes(Long transferredBytes)
public Long getTotal_size()
public void setTotal_size(Long total_size)
Copyright © 2016. All Rights Reserved.