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 |
---|---|
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) |
public OperationParameters(String oid)
public OperationParameters(String oid, Map<String,Object> params)
public OperationParameters set(String key, Object valueRef)
public OperationParameters from(Map<String,Object> params)
Copyright © 2018 Nuxeo. All rights reserved.