org.scohen.juploadr.event
Class UploadEvent
java.lang.Object
org.scohen.juploadr.event.UploadEvent
- public class UploadEvent
- extends java.lang.Object
- Author:
- John
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
UploadEvent
public UploadEvent()
UploadEvent
public UploadEvent(UploadImage source,
double bytesUploaded,
boolean uploadStarted,
boolean uploadSuccessful)
- Parameters:
bytesUploaded - uploadStarted - uploadSuccessful -
UploadEvent
public UploadEvent(UploadImage source,
double bytesUploaded,
boolean uploadStarted,
boolean uploadSuccessful,
java.lang.String errorMessage)
isUploadCompleted
public boolean isUploadCompleted()
- Returns:
- Returns the uploadCompleted.
setUploadCompleted
public void setUploadCompleted(boolean uploadCompleted)
- Parameters:
uploadCompleted - The uploadCompleted to set.
getBytesWritten
public double getBytesWritten()
- Returns:
- Returns the uploadCompletion.
setBytesWritten
public void setBytesWritten(double uploadCompletion)
- Parameters:
uploadCompletion - The uploadCompletion to set.
isUploadFailed
public boolean isUploadFailed()
- Returns:
- Returns the uploadFailed.
setUploadFailed
public void setUploadFailed(boolean uploadFailed)
- Parameters:
uploadFailed - The uploadFailed to set.
isUploadStarted
public boolean isUploadStarted()
- Returns:
- Returns the uploadStarted.
setUploadStarted
public void setUploadStarted(boolean uploadStarted)
- Parameters:
uploadStarted - The uploadStarted to set.
getErrorMessage
public java.lang.String getErrorMessage()
setErrorMessage
public void setErrorMessage(java.lang.String message)
getSource
public UploadImage getSource()
setSource
public void setSource(UploadImage image)
- Parameters:
image -