public class StandaloneManager extends Object
| Constructor and Description |
|---|
StandaloneManager(org.eclipse.sisu.equinox.launching.EquinoxLauncher launcher) |
| Modifier and Type | Method and Description |
|---|---|
void |
addArgumentsToInstallFeatures(String repositoryLocation,
String destination,
String profile)
Sets the StandaloneDirectorRuntime's arguments to install features.
|
void |
performAction(String installIU,
int forkedProcessTimeoutInSeconds)
Calls the Eclipse Launcher to perform the action such as install the set of features.
|
void |
setRuntimeLocation(File runtimeLocation)
Sets the Runtime Location.
|
public StandaloneManager(org.eclipse.sisu.equinox.launching.EquinoxLauncher launcher)
public void setRuntimeLocation(File runtimeLocation)
runtimeLocation - Filepublic void addArgumentsToInstallFeatures(String repositoryLocation, String destination, String profile)
repositoryLocation - a comma separated list of metadata repository (or artifact repository as
in p2 both
metadata and artifacts resides in the same repo) URLs where the software
to be
installed can be found.
of the feature has to be suffixed with ".feature.group".destination - the path of a folder in which the targeted product is located.profile - the profile id containing the description of the targeted product. This
ID is
defined by the eclipse.p2.profile property contained in the config.ini of the
targeted product.public void performAction(String installIU, int forkedProcessTimeoutInSeconds) throws org.apache.maven.plugin.MojoFailureException
installIU - The feature (UI) that is to be install.forkedProcessTimeoutInSeconds - intorg.apache.maven.plugin.MojoFailureException - throws when unable to perform the p2 activityCopyright © 2017 WSO2. All rights reserved.