Package migratedb.v1.core.api
Class MigrationPattern
java.lang.Object
migratedb.v1.core.api.MigrationPattern
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic booleananyMatchOrEmpty(String description, @Nullable List<MigrationPattern> patterns) static booleananyMatchOrEmpty(Version version, @Nullable List<MigrationPattern> patterns) booleaninthashCode()booleantoString()The migration name as passed to the constructor.
-
Constructor Details
-
MigrationPattern
-
-
Method Details
-
anyMatchOrEmpty
- Returns:
trueiffpatternsis null/empty or one of them matches theversion.
-
anyMatchOrEmpty
public static boolean anyMatchOrEmpty(String description, @Nullable List<MigrationPattern> patterns) - Returns:
trueiffpatternsis null/empty or one of them matches thedescription.
-
matches
-
toString
The migration name as passed to the constructor. -
equals
-
hashCode
public int hashCode()
-