datamaintain.core.step.Step.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of datamaintain-core Show documentation
Show all versions of datamaintain-core Show documentation
One tool to maintain all your database schemas!
package datamaintain.core.step
enum class Step(val executionOrder: Int) {
SCAN(1),
FILTER(2),
SORT(3),
PRUNE(4),
CHECK(5),
EXECUTE(6);
fun isSameStepOrExecutedBefore(otherStep: Step): Boolean {
return otherStep.executionOrder >= this.executionOrder
}
}