| Package | Description |
|---|---|
| org.jahia.services.modulemanager | |
| org.jahia.services.modulemanager.persistence | |
| org.jahia.services.modulemanager.spi | |
| org.jahia.services.modulemanager.spi.impl |
| Modifier and Type | Method and Description |
|---|---|
static BundleInfo |
BundleInfo.fromBundle(org.osgi.framework.Bundle bundle)
Creates the
BundleInfo instance using provided bundle. |
static BundleInfo |
BundleInfo.fromKey(String key)
Creates the
BundleInfo instance using provided bundle key. |
static BundleInfo |
BundleInfo.fromModuleInfo(String moduleId,
String moduleVersion)
Create a
BundleInfo instance using provided module ID and version. |
| Modifier and Type | Method and Description |
|---|---|
List<BundleInfo> |
OperationResult.getBundleInfos()
Get the bundle info list
|
| Modifier and Type | Method and Description |
|---|---|
static OperationResult |
OperationResult.success(BundleInfo bundleInfo)
Returns an operation result indicating successful operation for the specified bundle.
|
| Modifier and Type | Method and Description |
|---|---|
void |
OperationResult.setBundleInfos(List<BundleInfo> bundleInfoList)
Set the bundle info list
|
static OperationResult |
OperationResult.success(List<BundleInfo> bundleInfos)
Returns an operation result indicating successful operation for the specified bundles.
|
| Constructor and Description |
|---|
OperationResult(String message,
BundleInfo bundleInfo)
Initializes an instance of this class.
|
| Constructor and Description |
|---|
OperationResult(String message,
List<BundleInfo> bundleInfos)
Initializes an instance of this class.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PersistentBundle
DTO for handling persisted bundle information.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,BundleService.BundleInformation> |
BundleService.getInfo(BundleInfo bundleInfo,
String target)
Get info about a bundle.
|
BundleService.BundleInformation |
BundleService.getLocalInfo(BundleInfo bundleInfo)
Get local info about a bundle.
|
BundleState |
BundleService.getLocalState(BundleInfo bundleInfo)
Get current local state of a bundle.
|
void |
BundleService.refresh(BundleInfo bundleInfo,
String target)
Performs the refresh operation with the provided bundle on the target group of cluster nodes.
|
void |
BundleService.resolve(BundleInfo bundleInfo,
String target)
Performs the resolve operation with the provided bundle on the target group of cluster nodes.
|
void |
BundleService.start(BundleInfo bundleInfo,
String target)
Performs the start operation with the provided bundle on the target group of cluster nodes.
|
void |
BundleService.stop(BundleInfo bundleInfo,
String target)
Performs the stop operation with the provided bundle on the target group of cluster nodes.
|
void |
BundleService.uninstall(BundleInfo bundleInfo,
String target)
Performs the uninstall operation with the provided bundle on the target group of cluster nodes.
|
void |
BundleService.update(BundleInfo bundleInfo,
String target)
Performs the update operation with the provided bundle on the target group of cluster nodes.
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<String,BundleService.BundleInformation>> |
BundleService.getInfos(Collection<BundleInfo> bundleInfos,
String target)
Get info about multiple bundles.
|
void |
BundleService.refresh(Collection<BundleInfo> bundleInfos,
String target)
Performs the refresh operation with the provided bundles on the target group of cluster nodes.
|
| Modifier and Type | Method and Description |
|---|---|
protected static org.osgi.framework.Bundle |
DefaultBundleService.getBundleEnsureExists(BundleInfo bundleInfo) |
Map<String,BundleService.BundleInformation> |
BundleServiceDelegate.getInfo(BundleInfo bundleInfo,
String target) |
Map<String,BundleService.BundleInformation> |
DefaultBundleService.getInfo(BundleInfo bundleInfo,
String target) |
BundleService.BundleInformation |
BundleServiceDelegate.getLocalInfo(BundleInfo bundleInfo) |
BundleService.BundleInformation |
DefaultBundleService.getLocalInfo(BundleInfo bundleInfo) |
BundleState |
BundleServiceDelegate.getLocalState(BundleInfo bundleInfo) |
BundleState |
DefaultBundleService.getLocalState(BundleInfo bundleInfo) |
void |
BundleServiceDelegate.refresh(BundleInfo bundleInfo,
String target) |
void |
DefaultBundleService.refresh(BundleInfo bundleInfo,
String target) |
void |
BundleServiceDelegate.resolve(BundleInfo bundleInfo,
String target) |
void |
DefaultBundleService.resolve(BundleInfo bundleInfo,
String target) |
void |
BundleServiceDelegate.start(BundleInfo bundleInfo,
String target) |
void |
DefaultBundleService.start(BundleInfo bundleInfo,
String target) |
void |
BundleServiceDelegate.stop(BundleInfo bundleInfo,
String target) |
void |
DefaultBundleService.stop(BundleInfo bundleInfo,
String target) |
void |
BundleServiceDelegate.uninstall(BundleInfo bundleInfo,
String target) |
void |
DefaultBundleService.uninstall(BundleInfo bundleInfo,
String target) |
void |
BundleServiceDelegate.update(BundleInfo bundleInfo,
String target) |
void |
DefaultBundleService.update(BundleInfo bundleInfo,
String target) |
| Modifier and Type | Method and Description |
|---|---|
Map<String,Map<String,BundleService.BundleInformation>> |
BundleServiceDelegate.getInfos(Collection<BundleInfo> bundleInfos,
String target) |
Map<String,Map<String,BundleService.BundleInformation>> |
DefaultBundleService.getInfos(Collection<BundleInfo> bundleInfos,
String target) |
void |
BundleServiceDelegate.refresh(Collection<BundleInfo> bundleInfos,
String target) |
void |
DefaultBundleService.refresh(Collection<BundleInfo> bundleInfos,
String target) |
Copyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.