| Constructor and Description |
|---|
UploaderToWebServers(java.util.List<java.lang.String> webServerPodNames) |
| Modifier and Type | Method and Description |
|---|---|
void |
close()
This is to for disposing or cleaning up any internal state accumulated by the uploader
|
boolean |
complete()
if uploader is threaded,
this method will wait for the threaded uploading to finish
|
void |
initialize(Config cnfg,
java.lang.String jbID)
Initialize the uploader with the incoming context.
|
void |
run() |
boolean |
undo()
Undo uploading.
|
java.net.URI |
uploadPackage(java.lang.String sourceLocation)
UploadPackage will upload the job package to the given location.
|
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic UploaderToWebServers(java.util.List<java.lang.String> webServerPodNames)
public void initialize(Config cnfg, java.lang.String jbID)
IUploaderinitialize in interface IUploaderpublic java.net.URI uploadPackage(java.lang.String sourceLocation)
throws UploaderException
IUploaderuploadPackage in interface IUploadersourceLocation - the source location with all the filesnull if failed.UploaderExceptionpublic void run()
run in interface java.lang.Runnablerun in class java.lang.Threadpublic boolean complete()
IUploaderpublic boolean undo()
IUploader