Package org.nuxeo.runtime.migration
Class Migration
- java.lang.Object
-
- org.nuxeo.runtime.migration.Migration
-
public class Migration extends Object
- Since:
- 11.2
-
-
Field Summary
Fields Modifier and Type Field Description protected String
description
protected String
descriptionLabel
protected String
id
protected MigrationService.MigrationStatus
status
protected List<MigrationStep>
steps
-
Constructor Summary
Constructors Modifier Constructor Description protected
Migration(String id, String description, String label, MigrationService.MigrationStatus status, List<MigrationStep> steps)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
static Migration
from(MigrationDescriptor descriptor, MigrationService.MigrationStatus status)
protected static List<MigrationStep>
getAvailableSteps(MigrationDescriptor descriptor, MigrationService.MigrationStatus status)
String
getDescription()
String
getDescriptionLabel()
String
getId()
MigrationService.MigrationStatus
getStatus()
List<MigrationStep>
getSteps()
int
hashCode()
String
toString()
-
-
-
Field Detail
-
id
protected final String id
-
description
protected final String description
-
descriptionLabel
protected final String descriptionLabel
-
status
protected final MigrationService.MigrationStatus status
-
steps
protected final List<MigrationStep> steps
-
-
Constructor Detail
-
Migration
protected Migration(String id, String description, String label, MigrationService.MigrationStatus status, List<MigrationStep> steps)
-
-
Method Detail
-
from
public static Migration from(MigrationDescriptor descriptor, MigrationService.MigrationStatus status)
-
getAvailableSteps
protected static List<MigrationStep> getAvailableSteps(MigrationDescriptor descriptor, MigrationService.MigrationStatus status)
-
getId
public String getId()
-
getDescription
public String getDescription()
-
getDescriptionLabel
public String getDescriptionLabel()
-
getStatus
public MigrationService.MigrationStatus getStatus()
-
getSteps
public List<MigrationStep> getSteps()
-
-