Package sonia.scm.migration
Interface UpdateStepTarget
- All Known Subinterfaces:
NamespaceUpdateStep
,RepositoryUpdateStep
,UpdateStep
public interface UpdateStepTarget
Base class for update steps, telling the target version and the affected data type.
- Since:
- 2.14.0
-
Method Summary
Modifier and TypeMethodDescriptionDeclares the data type this update step will take care of.Declares the new version of the data type given bygetAffectedDataType()
.
-
Method Details
-
getTargetVersion
Version getTargetVersion()Declares the new version of the data type given bygetAffectedDataType()
. A update step will only be executed, when this version is bigger than the last recorded version for its data type according toVersion.compareTo(Version)
-
getAffectedDataType
String getAffectedDataType()Declares the data type this update step will take care of. This should be a qualified name, likecom.example.myPlugin.configuration
.
-