Class ScriptingOperationDescriptor
java.lang.Object
org.nuxeo.automation.scripting.internals.ScriptingOperationDescriptor
- All Implemented Interfaces:
OperationDescriptor
,Descriptor
- Since:
- 7.2
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String[]
protected String
protected ComponentInstance
protected String
protected boolean
protected String
protected String
protected String
protected OperationDocumentation.Param[]
protected String
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove, merge
-
Field Details
-
id
-
enabled
protected boolean enabled -
inputType
-
outputType
-
description
-
category
-
aliases
-
params
-
source
-
contributingComponent
- Since:
- 11.1
-
-
Constructor Details
-
ScriptingOperationDescriptor
public ScriptingOperationDescriptor()
-
-
Method Details
-
getId
Description copied from interface:Descriptor
The descriptor id, descriptors with same id are merged.To forbid multiple descriptors use UNIQUE_DESCRIPTOR_ID.
To forbid merge use a unique value, non-overriden
toString()
for exemple.- Specified by:
getId
in interfaceDescriptor
-
getAliases
-
getInputType
-
getOutputType
-
isEnabled
public boolean isEnabled()- Specified by:
isEnabled
in interfaceOperationDescriptor
- Returns:
- whether this operation is enabled or not
- Since:
- 2021.17
-
replace
public boolean replace()- Specified by:
replace
in interfaceOperationDescriptor
- Returns:
- whether this operation replaces an existing one
- Since:
- 2025.0
-
getDescription
-
getCategory
-
getParams
-
getContributingComponent
- Since:
- 11.1
-
toType
- Specified by:
toType
in interfaceOperationDescriptor
- Returns:
- the
OperationType
for this descriptor - Since:
- 2025.0
-
toString
-