Package org.nuxeo.ecm.automation
Class OperationChain
- java.lang.Object
-
- org.nuxeo.ecm.automation.OperationChain
-
- All Implemented Interfaces:
Serializable
public class OperationChain extends Object implements Serializable
Describes an operation chain execution.- Author:
- Bogdan Stefanescu
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String[]
aliases
protected Map<String,Object>
chainParameters
protected String
description
protected boolean
enabled
protected String
id
protected boolean
isPublic
protected List<OperationParameters>
operations
-
Constructor Summary
Constructors Constructor Description OperationChain(String id)
OperationChain(String id, List<OperationParameters> operations)
OperationChain(String id, List<OperationParameters> operations, Map<String,Object> chainParameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationParameters
add(String operationId)
void
add(OperationParameters op)
void
addChainParameters(Map<String,Object> chainParameter)
OperationChain
clone()
boolean
equals(Object obj)
String[]
getAliases()
Map<String,Object>
getChainParameters()
String
getDescription()
String
getId()
List<OperationParameters>
getOperations()
int
hashCode()
boolean
isEnabled()
boolean
isPublic()
void
merge(OperationChain other)
void
setAliases(String[] aliases)
void
setDescription(String description)
void
setEnabled(boolean enabled)
void
setPublic(boolean isPublic)
String
toString()
-
-
-
Field Detail
-
id
protected final String id
-
operations
protected final transient List<OperationParameters> operations
-
description
protected String description
-
aliases
protected String[] aliases
- Since:
- 7.1
-
isPublic
protected boolean isPublic
-
enabled
protected boolean enabled
- Since:
- 2021.17
-
-
Constructor Detail
-
OperationChain
public OperationChain(String id)
-
OperationChain
public OperationChain(String id, List<OperationParameters> operations)
-
-
Method Detail
-
getId
public String getId()
-
getAliases
public String[] getAliases()
- Since:
- 7.1
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
setAliases
public void setAliases(String[] aliases)
- Since:
- 7.1
-
isPublic
public boolean isPublic()
-
isEnabled
public boolean isEnabled()
- Since:
- 2021.17
-
setEnabled
public void setEnabled(boolean enabled)
- Since:
- 2021.17
-
setPublic
public void setPublic(boolean isPublic)
-
getOperations
public List<OperationParameters> getOperations()
-
add
public void add(OperationParameters op)
-
add
public OperationParameters add(String operationId)
-
addChainParameters
public void addChainParameters(Map<String,Object> chainParameter)
- Since:
- 5.7.2 Adding chain parameters
-
getChainParameters
public Map<String,Object> getChainParameters()
- Since:
- 5.7.2 Getting chain parameters
-
clone
public OperationChain clone()
-
merge
public void merge(OperationChain other)
- Since:
- 2021.17
-
-