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
|
protected java.lang.String |
getTopologyDirectory()
Used for unit testing.
|
protected java.lang.String |
getTopologyFile()
Used for unit testing.
|
protected java.net.URI |
getUri(java.lang.String filename) |
void |
initialize(Config ipconfig)
Initialize the uploader with the incoming context.
|
boolean |
undo()
Remove the uploaded topology package for cleaning up
|
java.net.URI |
uploadPackage()
Upload the topology package to the destined location in local file system
|
public void initialize(Config ipconfig)
IUploader
initialize
in interface IUploader
protected java.net.URI getUri(java.lang.String filename)
public java.net.URI uploadPackage()
uploadPackage
in interface IUploader
null
if failed.public boolean undo()
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.
protected java.lang.String getTopologyDirectory()
protected java.lang.String getTopologyFile()