Constructor and Description |
---|
ScpUploader() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This is to for disposing or cleaning up any internal state accumulated by the uploader
|
protected ScpController |
getScpController() |
void |
initialize(Config conf,
java.lang.String jobID)
Initialize the uploader with the incoming context.
|
boolean |
undo()
Undo uploading.
|
java.net.URI |
uploadPackage(java.lang.String sourceLocation)
UploadPackage will upload the job package to the given location.
|
protected ScpController getScpController()
public void initialize(Config conf, java.lang.String jobID)
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 boolean undo()
IUploader