Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddunne2010-11-03 22:53:38 +0000
committerRyan D. Brooks2010-11-03 22:53:38 +0000
commit09bcbc452bdeb002bcee457cbf20566c1da7ca7d (patch)
tree4d38edb97ea30eb43aae6b60a09edcbbdd4ee51a /plugins/org.eclipse.osee.framework.database
parent49fae9107ade62e75db51dc56ab5ff9f65ce13e5 (diff)
downloadorg.eclipse.osee-09bcbc452bdeb002bcee457cbf20566c1da7ca7d.tar.gz
org.eclipse.osee-09bcbc452bdeb002bcee457cbf20566c1da7ca7d.tar.xz
org.eclipse.osee-09bcbc452bdeb002bcee457cbf20566c1da7ca7d.zip
refinement: Add completed notification for InvalidTxCurrentsAndModTypes operation
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, 9 insertions, 2 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 70e4903bef7..1034eb7ea32 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,8 +44,11 @@ public class InvalidTxCurrentsAndModTypes extends AbstractOperation {
private final boolean isFixOperationEnabled;
private final String txsTableName;
- public InvalidTxCurrentsAndModTypes(String tableName, String columnName, OperationReporter reporter, boolean isFixOperationEnabled, boolean archived) {
+ 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;
this.tableName = tableName;
this.columnName = columnName;
this.isFixOperationEnabled = isFixOperationEnabled;
@@ -99,7 +102,7 @@ public class InvalidTxCurrentsAndModTypes extends AbstractOperation {
for (; index > -1; index--) {
if (!addresses.get(index).isPurge()) {
if (addresses.get(index).getModType() == ModificationType.MERGED) {
- logIssue("found merged mod type for item not in baseline: ", addresses.get(index));
+ // logIssue("found merged mod type for item not in baseline: ", addresses.get(index));
}
return;
}
@@ -158,6 +161,8 @@ public class InvalidTxCurrentsAndModTypes extends AbstractOperation {
@Override
protected void doWork(IProgressMonitor monitor) throws Exception {
+ reporter.report("Starting " + operationName);
+
checkForCancelledStatus(monitor);
IOseeStatement chStmt = ConnectionHandler.getStatement();
@@ -192,5 +197,7 @@ public class InvalidTxCurrentsAndModTypes extends AbstractOperation {
}
fixIssues(monitor);
+
+ reporter.report("Completed " + operationName);
}
} \ No newline at end of file

Back to the top