public class FeatureUnInstaller extends Object
| Constructor and Description |
|---|
FeatureUnInstaller() |
| Modifier and Type | Method and Description |
|---|---|
void |
setDestination(String destination)
Sets the location of the profile.
|
void |
setFeatures(List<Feature> features)
Sets the features to be uninstalled.
|
void |
setForkedProcessTimeoutInSeconds(int forkedProcessTimeoutInSeconds)
Sets forkedProcessTimeout in seconds.
|
void |
setLauncher(org.eclipse.sisu.equinox.launching.internal.P2ApplicationLauncher launcher)
Sets the P2ApplicationLauncher injected by maven runtime.
|
void |
setProfile(String profile)
Sets the string profile name of which the features needs to be uninstalled.
|
void |
setProject(org.apache.maven.project.MavenProject project)
Sets the MavenProject injected by the maven runtime.
|
void |
uninstallFeatures()
Default constructor which is executed during object creation of this class.
|
public void uninstallFeatures()
throws org.apache.maven.plugin.MojoFailureException
org.apache.maven.plugin.MojoFailureException - throws when the director application fail to uninstall any given feature.public void setDestination(String destination)
destination - Stringpublic void setProfile(String profile)
profile - Stringpublic void setFeatures(List<Feature> features)
features - List<Feature>public void setProject(org.apache.maven.project.MavenProject project)
project - MavenProjectpublic void setLauncher(org.eclipse.sisu.equinox.launching.internal.P2ApplicationLauncher launcher)
launcher - P2ApplicationLauncherpublic void setForkedProcessTimeoutInSeconds(int forkedProcessTimeoutInSeconds)
forkedProcessTimeoutInSeconds - intCopyright © 2017 WSO2. All rights reserved.