public class ArtifactArchiveInstaller extends Object
Modifier and Type | Field and Description |
---|---|
protected static String |
ANCHOR_FILE_BLURB |
protected Log |
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.
|
String |
installArtifact(URL artifactUrl)
Installs an artifact in the mule container.
|
protected static final String ANCHOR_FILE_BLURB
protected final transient Log logger
public ArtifactArchiveInstaller(File artifactParentDir)
public String 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
IOException
Copyright © 2003–2015 MuleSoft, Inc.. All rights reserved.