public class ArtifactDownloadTask extends AbstractDownloadTask
exceptionProperty, messageProperty, onCancelledProperty, onFailedProperty, onRunningProperty, onScheduledProperty, onSucceededProperty, progressProperty, runningProperty, stateProperty, titleProperty, totalWorkProperty, valueProperty, workDoneProperty| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
JAR_MIMETYPE |
static java.lang.String |
JARDIFF_MIMETYPE |
static java.lang.String |
PACK200_GZIP_ENCODING |
comitted, conn, download, downloadException, progressBar, url| Constructor and Description |
|---|
ArtifactDownloadTask(MapachoArtifact ma,
java.io.File jarRepo) |
| Modifier and Type | Method and Description |
|---|---|
protected java.io.File |
commit() |
protected java.lang.String |
getDisplayResourceName()
Returns the jar file name.
|
protected void |
init(java.net.HttpURLConnection conn) |
protected void |
process(java.io.InputStream is,
long realLength) |
call, doCall, done, encode, makeTempDownloadTarget, progress, scheduledaddEventFilter, addEventHandler, buildEventDispatchChain, cancel, cancel, cancelled, exceptionProperty, failed, fireEvent, getException, getMessage, getOnCancelled, getOnFailed, getOnRunning, getOnScheduled, getOnSucceeded, getProgress, getState, getTitle, getTotalWork, getValue, getWorkDone, isRunning, messageProperty, onCancelledProperty, onFailedProperty, onRunningProperty, onScheduledProperty, onSucceededProperty, progressProperty, removeEventFilter, removeEventHandler, running, runningProperty, setEventHandler, setOnCancelled, setOnFailed, setOnRunning, setOnScheduled, setOnSucceeded, stateProperty, succeeded, titleProperty, totalWorkProperty, updateMessage, updateProgress, updateProgress, updateTitle, updateValue, valueProperty, workDonePropertypublic static final java.lang.String PACK200_GZIP_ENCODING
public static final java.lang.String JAR_MIMETYPE
public static final java.lang.String JARDIFF_MIMETYPE
public ArtifactDownloadTask(MapachoArtifact ma, java.io.File jarRepo) throws java.lang.Exception
java.lang.Exceptionprotected java.lang.String getDisplayResourceName()
getDisplayResourceName in class AbstractDownloadTaskprotected void init(java.net.HttpURLConnection conn)
throws java.lang.Exception
init in class AbstractDownloadTaskjava.lang.Exceptionprotected void process(java.io.InputStream is,
long realLength)
throws java.lang.Exception
process in class AbstractDownloadTaskjava.lang.Exceptionprotected java.io.File commit()
throws java.lang.Exception
commit in class AbstractDownloadTaskjava.lang.ExceptionCopyright © 2019 Anahata. All Rights Reserved.