Constructor and Description |
---|
NullUploader() |
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)
Initialize the uploader with the incoming context.
|
boolean |
undo()
If subsequent stages fail, undo will be called to free resources used by
uploading package.
|
java.net.URI |
uploadPackage()
UploadPackage will upload the topology package to the given location.
|
public void initialize(Config config)
IUploader
initialize
in interface IUploader
public java.net.URI uploadPackage()
IUploader
uploadPackage
in interface IUploader
null
if failed.public boolean undo()
IUploader
public void close()
IUploader
Closes this stream and releases any system resources associated with it. If the stream is already closed then invoking this method has no effect.