Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.automation
Class OperationParameters

java.lang.Object
  extended by 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
OperationParameters(String oid)
           
OperationParameters(String oid, Map<String,Object> params)
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

OperationParameters

public OperationParameters(String oid)

OperationParameters

public OperationParameters(String oid,
                           Map<String,Object> params)
Method Detail

id

public String id()
The operation ID.


map

public final Map<String,Object> map()
The map of runtime parameters.


set

public OperationParameters set(String key,
                               Object valueRef)

from

public OperationParameters from(Map<String,Object> params)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.