public class PendingDownload extends Object
Modifier and Type | Field and Description |
---|---|
static int |
ABORTED |
static int |
COMPLETED |
static int |
CORRUPTED |
static int |
INPROGRESS |
static int |
MISSING |
static int |
PENDING |
static int |
VERIFICATION |
static int |
VERIFIED |
Constructor and Description |
---|
PendingDownload(DownloadPackage pkg) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object other) |
File |
getDowloadingFile() |
DownloadPackage |
getPkg() |
int |
getProgress() |
int |
getStatus() |
int |
hashCode() |
void |
setFile(long expectedLength,
File dowloadingFile) |
void |
setStatus(int status) |
public static final int PENDING
public static final int INPROGRESS
public static final int COMPLETED
public static final int VERIFICATION
public static final int VERIFIED
public static final int ABORTED
public static final int MISSING
public static final int CORRUPTED
public PendingDownload(DownloadPackage pkg)
public int getStatus()
public void setStatus(int status)
public DownloadPackage getPkg()
public int getProgress()
public void setFile(long expectedLength, File dowloadingFile)
public File getDowloadingFile()
Copyright © 2011 Nuxeo SA. All Rights Reserved.