public class OperationParameters extends Object implements Serializable
Parameters are injected at runtime into the operation using Param
annotation.
Modifier and Type | Field and Description |
---|---|
protected String |
oid |
protected Map<String,Object> |
params |
Constructor and Description |
---|
OperationParameters(String oid) |
OperationParameters(String oid,
Map<String,Object> params) |
Modifier and Type | Method and Description |
---|---|
OperationParameters |
from(Map<String,Object> params) |
String |
id()
The operation ID.
|
Map<String,Object> |
map()
The map of runtime parameters.
|
OperationParameters |
set(String key,
Object valueRef) |
public OperationParameters(String oid)
public OperationParameters(String oid, Map<String,Object> params)
Copyright © 2016 Nuxeo SA. All rights reserved.