Class RunFileChain
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.operations.execution.RunFileChain
-
public class RunFileChain extends Object
Run an embedded operation chain that returns a Blob using the current input.- Author:
- Bogdan Stefanescu
-
-
Field Summary
Fields Modifier and Type Field Description protected String
chainId
protected Properties
chainParameters
protected OperationContext
ctx
static String
ID
protected boolean
isolate
protected boolean
newTx
protected boolean
rollbackGlobalOnError
protected AutomationService
service
protected CoreSession
session
protected Integer
timeout
-
Constructor Summary
Constructors Constructor Description RunFileChain()
-
-
-
Field Detail
-
ID
public static final String ID
- See Also:
- Constant Field Values
-
ctx
protected OperationContext ctx
-
service
protected AutomationService service
-
session
protected CoreSession session
-
chainId
protected String chainId
-
isolate
protected boolean isolate
-
chainParameters
protected Properties chainParameters
-
newTx
protected boolean newTx
- Since:
- 6.0 Define if the chain in parameter should be executed in new transaction.
-
timeout
protected Integer timeout
- Since:
- 6.0 Define transaction timeout (default to 60 sec).
-
rollbackGlobalOnError
protected boolean rollbackGlobalOnError
- Since:
- 6.0 Define if transaction should rollback or not (default to true).
-
-
Method Detail
-
run
public Blob run(Blob blob) throws OperationException
- Throws:
OperationException
-
run
public BlobList run(BlobList blobs) throws OperationException
- Throws:
OperationException
-
-