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
Nested ClassesModifier and TypeClassDescriptionstatic classstatic class -
Field Summary
FieldsFields 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, toString, wait, wait, waitMethods 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:DescriptorThe 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:
getIdin interfaceDescriptor
-
getDescriptionLabel
-
getDescription
-
getKlass
-
getDefaultState
-
getStates
-
getSteps
-
merge
Description copied from interface:DescriptorReturns a descriptor representingothermerged intothisDefault implementation returns
other.- Specified by:
mergein interfaceDescriptor- Returns:
- the merged descriptor
-