public class ArtifactArchiveInstaller extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ANCHOR_FILE_BLURB |
protected org.slf4j.Logger |
logger |
| 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(URL artifactUrl)
Installs an artifact in the mule container.
|
protected static final String ANCHOR_FILE_BLURB
protected final transient org.slf4j.Logger logger
public ArtifactArchiveInstaller(File artifactParentDir)
public File installArtifact(URL artifactUrl) throws IOException
artifactUrl - URL 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.