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, yield
public UploaderToWebServers(java.util.List<java.lang.String> webServerPodNames)
public void initialize(Config cnfg, java.lang.String jbID)
IUploader
initialize
in interface IUploader
public java.net.URI uploadPackage(java.lang.String sourceLocation) throws UploaderException
IUploader
uploadPackage
in interface IUploader
sourceLocation
- the source location with all the filesnull
if failed.UploaderException
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
public boolean complete()
IUploader
public boolean undo()
IUploader