public class ArtifactArchiveInstaller extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ANCHOR_FILE_BLURB |
| Constructor and Description |
|---|
ArtifactArchiveInstaller(File artifactParentDir) |
| Modifier and Type | Method and Description |
|---|---|
void |
createAnchorFile(String artifactName) |
void |
desinstallArtifact(String artifactName)
Desintalls an artifact from the mule container installation.
|
File |
installArtifact(URI artifactUri)
Installs an artifact in the mule container.
|
protected static final String ANCHOR_FILE_BLURB
public ArtifactArchiveInstaller(File artifactParentDir)
public File installArtifact(URI artifactUri) throws IOException
artifactUri - URI of the artifact to install. It must be present in the artifact directory as a zip file.IOException - in case there was an error reading from the artifact or writing to the artifact folder.public void desinstallArtifact(String artifactName)
artifactName - name of the artifact to be uninstall.public void createAnchorFile(String artifactName) throws IOException
IOExceptionCopyright © 2003–2017 MuleSoft, Inc.. All rights reserved.