Package org.nuxeo.ecm.automation
Class OperationParameters
- java.lang.Object
-
- org.nuxeo.ecm.automation.OperationParameters
-
- All Implemented Interfaces:
Serializable
public class OperationParameters extends Object implements Serializable
An object holding the runtime parameters that should be used by an operation when run.Parameters are injected at runtime into the operation using
Param
annotation.- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description OperationParameters(String oid)
OperationParameters(String oid, Map<String,Object> params)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
OperationParameters
from(Map<String,Object> params)
int
hashCode()
String
id()
The operation ID.Map<String,Object>
map()
The map of runtime parameters.OperationParameters
set(String key, Object valueRef)
-
-
-
Method Detail
-
id
public String id()
The operation ID.
-
set
public OperationParameters set(String key, Object valueRef)
-
from
public OperationParameters from(Map<String,Object> params)
-
-