public class PluginJarUpdater extends NodeUpdater
core, fetchedVersion, manager, node, tempBlobFile
Modifier and Type | Method and Description |
---|---|
void |
arm(boolean wasRunning) |
RequestClient |
getRequestClient()
Get the RequestClient context object used to indicate which requests are related to each
other for scheduling purposes.
|
java.lang.String |
jarName() |
protected void |
maybeParseManifest(FetchResult result,
int build)
Called with locks held
|
protected void |
onStartFetching() |
protected void |
parseManifestLine(java.lang.String line) |
protected void |
processSuccess(int build,
FetchResult result,
java.io.File blob)
We have fetched the jar! Do something after onSuccess().
|
void |
writeJarTo(FetchResult result,
java.io.File fNew) |
canUpdateNow, fetchingVersion, getBlobFile, getBlobSize, getFetchedVersion, getPollingPriorityNormal, getPollingPriorityProgress, getUpdateKey, isFetching, maybeProcessOldBlob, maybeUpdate, onChangeURI, onFailure, onFoundEdition, onResume, onSuccess, parseDependencies, parseDependencies, parseManifest, persistent, preKill, realTimeFlag, setMinMax
public java.lang.String jarName()
jarName
in class NodeUpdater
protected void maybeParseManifest(FetchResult result, int build)
NodeUpdater
maybeParseManifest
in class NodeUpdater
protected void parseManifestLine(java.lang.String line)
parseManifestLine
in class NodeUpdater
protected void onStartFetching()
onStartFetching
in class NodeUpdater
protected void processSuccess(int build, FetchResult result, java.io.File blob)
NodeUpdater
processSuccess
in class NodeUpdater
public void writeJarTo(FetchResult result, java.io.File fNew) throws java.io.IOException
java.io.IOException
public void arm(boolean wasRunning)
public RequestClient getRequestClient()
ClientBaseCallback
getRequestClient
in interface ClientBaseCallback
getRequestClient
in class NodeUpdater