public class OperationResult extends Object implements Serializable
ModuleManager service.| Constructor and Description |
|---|
OperationResult(String message)
Initializes an instance of this class.
|
OperationResult(String message,
BundleInfo bundleInfo)
Initializes an instance of this class.
|
OperationResult(String message,
List<BundleInfo> bundleInfos)
Initializes an instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
List<BundleInfo> |
getBundleInfos()
Get the bundle info list
|
String |
getMessage()
Get the operation result flag
|
void |
setBundleInfos(List<BundleInfo> bundleInfoList)
Set the bundle info list
|
static OperationResult |
success(BundleInfo bundleInfo)
Returns an operation result indicating successful operation for the specified bundle.
|
static OperationResult |
success(List<BundleInfo> bundleInfos)
Returns an operation result indicating successful operation for the specified bundles.
|
String |
toString() |
public OperationResult(String message)
message - description of the operation resultpublic OperationResult(String message, BundleInfo bundleInfo)
message - description of the operation resultbundleInfo - the information about the target bundlepublic OperationResult(String message, List<BundleInfo> bundleInfos)
message - description of the operation resultbundleInfos - the information about the target bundlespublic static OperationResult success(BundleInfo bundleInfo)
bundleInfo - the information about the target bundlepublic static OperationResult success(List<BundleInfo> bundleInfos)
bundleInfos - the information about the target bundlespublic List<BundleInfo> getBundleInfos()
public String getMessage()
public void setBundleInfos(List<BundleInfo> bundleInfoList)
bundleInfoList - the bundleInfoList to setCopyright © 2004–2020 Jahia Solutions Group SA. All rights reserved.