Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrescobar2008-07-31 21:18:54 +0000
committerrescobar2008-07-31 21:18:54 +0000
commit5b986fb1574e79d463d063fd1e02923c315c7a7c (patch)
tree3fbd561e0eaa63b5412d0b484e8ca7711b698579 /org.eclipse.osee.framework.server.admin
parent41c0ec8dafae3b21770f473f05b28cf0cbcb89d2 (diff)
downloadorg.eclipse.osee-5b986fb1574e79d463d063fd1e02923c315c7a7c.tar.gz
org.eclipse.osee-5b986fb1574e79d463d063fd1e02923c315c7a7c.tar.xz
org.eclipse.osee-5b986fb1574e79d463d063fd1e02923c315c7a7c.zip
Diffstat (limited to 'org.eclipse.osee.framework.server.admin')
-rw-r--r--org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/search/SearchTaggerCommands.java18
1 files changed, 18 insertions, 0 deletions
diff --git a/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/search/SearchTaggerCommands.java b/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/search/SearchTaggerCommands.java
index 02fd6ba7b98..4b88e1631df 100644
--- a/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/search/SearchTaggerCommands.java
+++ b/org.eclipse.osee.framework.server.admin/src/org/eclipse/osee/framework/server/admin/search/SearchTaggerCommands.java
@@ -44,18 +44,29 @@ public class SearchTaggerCommands {
Thread th = new Thread(dropAllWorker);
th.setName("Drop All Tags");
th.start();
+ } else {
+ if (this.dropAllWorker.isRunning()) {
+ ci.println("Drop All Tags is running.");
+ }
+ if (this.tagAllWorker.isRunning()) {
+ ci.println("Tag All is running.");
+ }
}
}
public void stopDropAll(CommandInterpreter ci) {
if (this.dropAllWorker.isRunning()) {
this.dropAllWorker.setExecutionAllowed(false);
+ } else {
+ ci.println("Drop All Tags is not running.");
}
}
public void stopTagAll(CommandInterpreter ci) {
if (this.tagAllWorker.isRunning()) {
this.tagAllWorker.setExecutionAllowed(false);
+ } else {
+ ci.println("Tag All is not running.");
}
}
@@ -66,6 +77,13 @@ public class SearchTaggerCommands {
Thread th = new Thread(tagAllWorker);
th.setName("Tagger All Attributes");
th.start();
+ } else {
+ if (this.dropAllWorker.isRunning()) {
+ ci.println("Drop All Tags is running.");
+ }
+ if (this.tagAllWorker.isRunning()) {
+ ci.println("Tag All is running.");
+ }
}
}

Back to the top