public class TransferProgress extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TransferProgress.Status |
Constructor and Description |
---|
TransferProgress() |
Modifier and Type | Method and Description |
---|---|
int |
getCurrentPosition() |
int |
getEndPosition() |
Throwable |
getError() |
TransferProgress.Status |
getStatus() |
static Set<TransferProgress.Status> |
getTerminalStatuses() |
boolean |
isFinished() |
void |
setCurrentPosition(int currentPosition) |
void |
setEndPosition(int endPosition) |
void |
setError(Throwable error) |
void |
setStatus(TransferProgress.Status status) |
String |
toString() |
public static Set<TransferProgress.Status> getTerminalStatuses()
public boolean isFinished()
public TransferProgress.Status getStatus()
public void setStatus(TransferProgress.Status status)
status
- the status to setpublic int getCurrentPosition()
public void setCurrentPosition(int currentPosition)
currentPosition
- the currentPosition to setpublic int getEndPosition()
public void setEndPosition(int endPosition)
endPosition
- the endPosition to setpublic Throwable getError()
public void setError(Throwable error)
error
- the error to setCopyright © 2005–2017 Alfresco Software. All rights reserved.