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
Paramannotation.- 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 booleanequals(Object obj)OperationParametersfrom(Map<String,Object> params)inthashCode()Stringid()The operation ID.Map<String,Object>map()The map of runtime parameters.OperationParametersset(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)
-
-