public interface CellarFeaturesMBean
| Modifier and Type | Method and Description |
|---|---|
void |
addRepository(String group,
String nameOrUrl)
Add a features repository in a cluster group.
|
void |
addRepository(String group,
String nameOrUrl,
String version)
Add a features repository in a cluster group.
|
void |
addRepository(String group,
String nameOrUrl,
String version,
boolean install)
Add a features repository in a cluster group.
|
void |
block(String group,
String pattern,
boolean whitelist,
boolean blacklist,
boolean in,
boolean out)
Change the blocking policy for a feature pattern.
|
TabularData |
getFeatures(String group)
Get the list of features in a cluster group.
|
List<String> |
getRepositories(String group)
Get the list of features repository URLs in a cluster group.
|
void |
installFeature(String group,
String name)
Install a feature in a cluster group.
|
void |
installFeature(String group,
String name,
boolean noClean,
boolean noRefresh)
Install a feature in a cluster group.
|
void |
installFeature(String group,
String name,
boolean noClean,
boolean noRefresh,
boolean noStart)
Install a feature in a cluster group.
|
void |
installFeature(String group,
String name,
String version)
Install a feature in a cluster group.
|
void |
installFeature(String group,
String name,
String version,
boolean noClean,
boolean noRefresh)
Install a feature in a cluster group.
|
void |
installFeature(String group,
String name,
String version,
boolean noClean,
boolean noRefresh,
boolean noStart)
Install a feature in a cluster group.
|
void |
refreshRepository(String group,
String repository,
String version)
Refresh a features repository in a cluster group.
|
void |
removeRepository(String group,
String repository)
Remove a features repository from a cluster group.
|
void |
removeRepository(String group,
String repository,
boolean uninstall)
Remove a features repository from a cluster group, eventually uninstalling all features described in the repository.
|
void |
uninstallFeature(String group,
String name)
Uninstall a feature from a cluster group.
|
void |
uninstallFeature(String group,
String name,
boolean noRefresh)
Uninstall a feature from a cluster group.
|
void |
uninstallFeature(String group,
String name,
String version)
Uninstall a feature from a cluster group.
|
void |
uninstallFeature(String group,
String name,
String version,
boolean noRefresh)
Uninstall a feature from a cluster group.
|
void addRepository(String group, String nameOrUrl) throws Exception
group - the cluster group name.nameOrUrl - the features repository name or URL.Exception - in case of add failure.void addRepository(String group, String nameOrUrl, String version) throws Exception
group - the cluster group name.nameOrUrl - the features repository name or URL.version - the features repository version (when name is provided).Exception - in case of add failure.void addRepository(String group, String nameOrUrl, String version, boolean install) throws Exception
group - the cluster group name.nameOrUrl - the features repository URL.version - the features repository version (when name is provided).install - true to install all features contained in the repository, false else.Exception - in case of add failure.void removeRepository(String group, String repository) throws Exception
group - the cluster group name.repository - the features repository name or URL.Exception - in case of remove failure.void removeRepository(String group, String repository, boolean uninstall) throws Exception
group - the cluster group name.repository - the features repository name or URL.uninstall - true to uninstall all features described in the repository URL.Exceptionvoid refreshRepository(String group, String repository, String version) throws Exception
group - the cluster group name.repository - the features repository name or URL.version - the features repository version.Exceptionvoid installFeature(String group, String name) throws Exception
group - the cluster group name.name - the feature name.Exception - in case of install failure.void installFeature(String group, String name, boolean noClean, boolean noRefresh) throws Exception
group - the cluster group name.name - the feature name.noClean - true to not uninstall the bundles if the installation of the feature failed, false else.noRefresh - true to not automatically refresh the bundles, false else.Exception - in case of install failure.void installFeature(String group, String name, boolean noClean, boolean noRefresh, boolean noStart) throws Exception
group - the cluster group name.name - the feature name.noClean - true to not uninstall the bundles if the installation of the feature failed, false else.noRefresh - true to not automatically refresh the bundles, false else.noStart - true to not automatically start the bundles, false else.Exception - in case of install failure.void installFeature(String group, String name, String version) throws Exception
group - the cluster group name.name - the feature name.version - the feature version.Exception - in case of install failure.void installFeature(String group, String name, String version, boolean noClean, boolean noRefresh) throws Exception
group - the cluster group name.name - the feature name.version - the feature version.noClean - true to not uninstall the bundles if the installation of the feature failed, false else.noRefresh - true to not automatically refresh the bundles, false else.Exception - in case of install failure.void installFeature(String group, String name, String version, boolean noClean, boolean noRefresh, boolean noStart) throws Exception
group - the cluster group name.name - the feature name.version - the feature version.noClean - true to not uninstall the bundles if the installation of the feature failued, false else.noRefresh - true to not automatically refresh the bundles, false else.noStart - true to not automatically start the bundles, false else.Exception - in case of install failure.void uninstallFeature(String group, String name) throws Exception
group - the cluster group name.name - the feature name.Exception - in case of uninstall failure.void uninstallFeature(String group, String name, boolean noRefresh) throws Exception
group - the cluster group name.name - the feature name.noRefresh - true to not automatically refresh the bundles, false else.Exception - in case of uninstall failure.void uninstallFeature(String group, String name, String version) throws Exception
group - the cluster group name.name - the feature name.version - the feature version.Exception - in case of uninstall failure.void uninstallFeature(String group, String name, String version, boolean noRefresh) throws Exception
group - the cluster group name.name - the feature name.version - the feature version.noRefresh - true to not automatically refresh the bundles, false else.Exception - in case of uninstall failure.void block(String group, String pattern, boolean whitelist, boolean blacklist, boolean in, boolean out) throws Exception
group - the cluster group name.pattern - the feature pattern.whitelist - true to allow the feature by updating the whitelist.blacklist - true to block the feature by updating the blacklistin - true to change the inbound blocking policy.out - true to change the outbound blocking policy.ExceptionList<String> getRepositories(String group) throws Exception
group - the cluster group name.Exception - in case of retrieval failure.TabularData getFeatures(String group) throws Exception
group - the cluster group name.Exception - in case of retrieval failure.Copyright © 2016 The Apache Software Foundation. All rights reserved.