Package org.nuxeo.runtime.migration
Class MigrationDescriptor
java.lang.Object
org.nuxeo.runtime.migration.MigrationDescriptor
- All Implemented Interfaces:
Descriptor
Descriptor of a Migration, consisting of States and Steps.
- Since:
- 9.3
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields inherited from interface org.nuxeo.runtime.model.Descriptor
UNIQUE_DESCRIPTOR_ID
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.nuxeo.runtime.model.Descriptor
doesRemove
-
Field Details
-
id
-
descriptionLabel
-
description
-
klass
-
defaultState
-
states
-
steps
-
-
Constructor Details
-
MigrationDescriptor
public MigrationDescriptor()
-
-
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
-
getDescriptionLabel
-
getDescription
-
getKlass
-
getDefaultState
-
getStates
-
getSteps
-
merge
Description copied from interface:Descriptor
Returns a descriptor representingother
merged intothis
Default implementation returns
other
.- Specified by:
merge
in interfaceDescriptor
- Returns:
- the merged descriptor
-