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, setMinMaxpublic java.lang.String jarName()
jarName in class NodeUpdaterprotected void maybeParseManifest(FetchResult result, int build)
NodeUpdatermaybeParseManifest in class NodeUpdaterprotected void parseManifestLine(java.lang.String line)
parseManifestLine in class NodeUpdaterprotected void onStartFetching()
onStartFetching in class NodeUpdaterprotected void processSuccess(int build,
FetchResult result,
java.io.File blob)
NodeUpdaterprocessSuccess in class NodeUpdaterpublic void writeJarTo(FetchResult result, java.io.File fNew) throws java.io.IOException
java.io.IOExceptionpublic void arm(boolean wasRunning)
public RequestClient getRequestClient()
ClientBaseCallbackgetRequestClient in interface ClientBaseCallbackgetRequestClient in class NodeUpdater