Skip to content
Permalink
Browse files

JENKINS-40919

provide migration for rollbackOnly field
  • Loading branch information...
prospero238 committed Jan 9, 2017
1 parent 68c7b9e commit a764793f69d59364cb14235fdda25e19e5886980
@@ -31,6 +31,8 @@
private String appliedTag;

private boolean rollbacksTested;
@Deprecated
private transient Boolean rollbackOnly;

public ExecutedChangesetAction() {
}
@@ -39,6 +41,14 @@ public ExecutedChangesetAction(Run<?, ?> build) {
this.build = build;
}

protected Object readResolve() {
if (rollbackOnly != null) {
noExecutionsExpected = rollbackOnly;
}
return this;

}

public String getIconFileName() {
return "/plugin/liquibase-runner/liquibase_icon24x24.png";
}
@@ -186,4 +196,13 @@ public void setNoExecutionsExpected(boolean noExecutionsExpected) {
public boolean isNoExecutionsExpected() {
return noExecutionsExpected;
}

@Deprecated
public void setRollbackOnly(boolean rollbackOnly) {
this.rollbackOnly = rollbackOnly;
}

public boolean isRollbackOnly() {
return rollbackOnly;
}
}

0 comments on commit a764793

Please sign in to comment.
You can’t perform that action at this time.