public class OperationOptions extends Object
| Constructor and Description |
|---|
OperationOptions(String operationId,
IValueMap argumentsValueMap)
This constructor will be used in case of direct execution of operation
It takes an IValueMap for operation arguments
|
OperationOptions(String operationId,
org.apache.sling.commons.json.JSONObject arguments)
Deprecated.
Use
OperationOptions(String, IValueMap) instead |
| Modifier and Type | Method and Description |
|---|---|
org.apache.sling.commons.json.JSONObject |
getArguments()
Deprecated.
Use
getArgumentsValueMap() instead |
IValueMap |
getArgumentsValueMap()
Get arguments (in IValueMap format) representing the input of the operation
|
void |
setArguments(org.apache.sling.commons.json.JSONObject arguments)
Deprecated.
Use
setArgumentsValueMap(IValueMap) instead |
void |
setArgumentsValueMap(IValueMap arguments)
Set input of the operation
Input arguments can be given either as a JSONObject or as IValueMap - these two formats are mutually exclusive.
|
@Deprecated public OperationOptions(String operationId, org.apache.sling.commons.json.JSONObject arguments)
OperationOptions(String, IValueMap) insteadoperationId - - name of operationarguments - - input of the operation@Deprecated public org.apache.sling.commons.json.JSONObject getArguments()
getArgumentsValueMap() insteadJSONObject formatpublic IValueMap getArgumentsValueMap()
JSONObject format@Deprecated public void setArguments(org.apache.sling.commons.json.JSONObject arguments)
setArgumentsValueMap(IValueMap) insteadarguments - input in JSONObject formatpublic void setArgumentsValueMap(IValueMap arguments)
arguments - input in JSONObject formatCopyright © 1982–2022 Adobe Systems Inc.. All rights reserved.