Constructor and Description |
---|
LocalFileSystemUploader() |
Modifier and Type | Method and Description |
---|---|
void |
close()
This is to for disposing or cleaning up any internal state accumulated by the uploader
|
void |
initialize(Config config,
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.
|
public void initialize(Config config, 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