public class TransferProgress
extends java.lang.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() |
java.lang.Throwable |
getError() |
TransferProgress.Status |
getStatus() |
static java.util.Set |
getTerminalStatuses() |
boolean |
isFinished() |
void |
setCurrentPosition(int currentPosition) |
void |
setEndPosition(int endPosition) |
void |
setError(java.lang.Throwable error) |
void |
setStatus(TransferProgress.Status status) |
java.lang.String |
toString() |
public static java.util.Set 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 java.lang.Throwable getError()
public void setError(java.lang.Throwable error)
error - the error to setpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.