Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2010-11-15 12:22:43 -0500
committerRyan D. Brooks2010-11-15 12:22:43 -0500
commit36fd1f3c51cc6dc5336b1a6af583136e1dc8ea25 (patch)
treed86c0a4e2403d941dbacf937e2f04fd8442a8c37 /plugins/org.eclipse.osee.framework.database
parent68c20df5136e78eb44355f0216f3c7e926ea41d0 (diff)
downloadorg.eclipse.osee-36fd1f3c51cc6dc5336b1a6af583136e1dc8ea25.tar.gz
org.eclipse.osee-36fd1f3c51cc6dc5336b1a6af583136e1dc8ea25.tar.xz
org.eclipse.osee-36fd1f3c51cc6dc5336b1a6af583136e1dc8ea25.zip
refinement: Improve txCurrent health check to show progress
Diffstat (limited to 'plugins/org.eclipse.osee.framework.database')
-rw-r--r--plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/operation/InvalidTxCurrentsAndModTypes.java11
1 files changed, 5 insertions, 6 deletions
diff --git a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/operation/InvalidTxCurrentsAndModTypes.java b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/operation/InvalidTxCurrentsAndModTypes.java
index 1034eb7ea3..f3ff895005 100644
--- a/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/operation/InvalidTxCurrentsAndModTypes.java
+++ b/plugins/org.eclipse.osee.framework.database/src/org/eclipse/osee/framework/database/operation/InvalidTxCurrentsAndModTypes.java
@@ -44,11 +44,10 @@ public class InvalidTxCurrentsAndModTypes extends AbstractOperation {
private final boolean isFixOperationEnabled;
private final String txsTableName;
- private final String operationName;
-
public InvalidTxCurrentsAndModTypes(String operationName, String tableName, String columnName, OperationReporter reporter, boolean isFixOperationEnabled, boolean archived) {
- super("InvalidTxCurrentsAndModTypes " + tableName + " " + archived, Activator.PLUGIN_ID);
- this.operationName = operationName;
+ super(
+ "InvalidTxCurrentsAndModTypes " + operationName + tableName + " fix:" + isFixOperationEnabled + " archived:" + archived,
+ Activator.PLUGIN_ID);
this.tableName = tableName;
this.columnName = columnName;
this.isFixOperationEnabled = isFixOperationEnabled;
@@ -161,7 +160,7 @@ public class InvalidTxCurrentsAndModTypes extends AbstractOperation {
@Override
protected void doWork(IProgressMonitor monitor) throws Exception {
- reporter.report("Starting " + operationName);
+ reporter.report("Starting " + getName());
checkForCancelledStatus(monitor);
@@ -198,6 +197,6 @@ public class InvalidTxCurrentsAndModTypes extends AbstractOperation {
fixIssues(monitor);
- reporter.report("Completed " + operationName);
+ reporter.report("Completed " + getName());
}
} \ No newline at end of file

Back to the top