Package org.nuxeo.ecm.automation.core
Class OperationChainContribution
- java.lang.Object
-
- org.nuxeo.ecm.automation.core.OperationChainContribution
-
public class OperationChainContribution extends Object
- Author:
- Bogdan Stefanescu
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
OperationChainContribution.Operation
static class
OperationChainContribution.Param
-
Field Summary
Fields Modifier and Type Field Description protected String[]
aliases
protected String
description
protected boolean
enabled
protected String
id
protected boolean
isPublic
protected OperationChainContribution.Operation[]
ops
protected OperationDocumentation.Param[]
params
protected boolean
replace
-
Constructor Summary
Constructors Constructor Description OperationChainContribution()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationChainContribution
clone()
static OperationChainContribution
contribOf(OperationChain chain, boolean replace)
String[]
getAliases()
String
getCategory()
String
getDescription()
String
getId()
String
getLabel()
OperationChainContribution.Operation[]
getOps()
OperationDocumentation.Param[]
getParams()
String
getRequires()
String
getSince()
void
merge(OperationChainContribution other)
static OperationChainContribution.Operation[]
operationsOf(List<OperationParameters> operations)
static OperationDocumentation.Param[]
paramsOf(Map<String,?> args)
OperationChain
toOperationChain(org.osgi.framework.Bundle bundle)
-
-
-
Field Detail
-
id
protected String id
-
replace
protected boolean replace
-
enabled
protected boolean enabled
- Since:
- 2021.17
-
description
protected String description
-
ops
protected OperationChainContribution.Operation[] ops
-
isPublic
protected boolean isPublic
-
params
protected OperationDocumentation.Param[] params
-
aliases
protected String[] aliases
- Since:
- 7.1
-
-
Method Detail
-
getParams
public OperationDocumentation.Param[] getParams()
-
getId
public String getId()
-
toOperationChain
public OperationChain toOperationChain(org.osgi.framework.Bundle bundle) throws OperationException
- Throws:
OperationException
-
getOps
public OperationChainContribution.Operation[] getOps()
-
getLabel
public String getLabel()
-
getRequires
public String getRequires()
-
getCategory
public String getCategory()
-
getSince
public String getSince()
-
getDescription
public String getDescription()
-
getAliases
public String[] getAliases()
-
contribOf
public static OperationChainContribution contribOf(OperationChain chain, boolean replace)
-
paramsOf
public static OperationDocumentation.Param[] paramsOf(Map<String,?> args)
-
operationsOf
public static OperationChainContribution.Operation[] operationsOf(List<OperationParameters> operations)
-
clone
public OperationChainContribution clone()
-
merge
public void merge(OperationChainContribution other)
- Since:
- 2021.17
-
-