You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@oodt.apache.org by ma...@apache.org on 2015/10/09 17:40:31 UTC
[5/7] oodt git commit: OODT-886 fix unused imports
OODT-886 fix unused imports
Project: http://git-wip-us.apache.org/repos/asf/oodt/repo
Commit: http://git-wip-us.apache.org/repos/asf/oodt/commit/4d8da8c0
Tree: http://git-wip-us.apache.org/repos/asf/oodt/tree/4d8da8c0
Diff: http://git-wip-us.apache.org/repos/asf/oodt/diff/4d8da8c0
Branch: refs/heads/master
Commit: 4d8da8c09721b99dbd35e5f8e0c611ddf1fa21a8
Parents: 08fad26
Author: Tom Barber <to...@analytical-labs.com>
Authored: Fri Oct 9 16:18:48 2015 +0100
Committer: Tom Barber <to...@analytical-labs.com>
Committed: Fri Oct 9 16:18:48 2015 +0100
----------------------------------------------------------------------
.../engine/processor/WorkflowProcessor.java | 21 +++++++-------
.../processor/WorkflowProcessorQueue.java | 30 +++++++-------------
.../AsynchronousLocalEngineRunnerFactory.java | 4 ---
3 files changed, 22 insertions(+), 33 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/oodt/blob/4d8da8c0/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/processor/WorkflowProcessor.java
----------------------------------------------------------------------
diff --git a/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/processor/WorkflowProcessor.java b/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/processor/WorkflowProcessor.java
index 691bcb1..3c4b086 100755
--- a/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/processor/WorkflowProcessor.java
+++ b/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/processor/WorkflowProcessor.java
@@ -16,18 +16,19 @@
*/
package org.apache.oodt.cas.workflow.engine.processor;
-//JDK imports
-import java.util.List;
-import java.util.Vector;
-import java.util.logging.Logger;
//OODT imports
import org.apache.oodt.cas.workflow.engine.ChangeType;
import org.apache.oodt.cas.workflow.lifecycle.WorkflowLifecycleManager;
-import org.apache.oodt.cas.workflow.lifecycle.WorkflowLifecycleStage;
import org.apache.oodt.cas.workflow.lifecycle.WorkflowState;
import org.apache.oodt.cas.workflow.structs.WorkflowInstance;
+//JDK imports
+import java.util.List;
+import java.util.Vector;
+import java.util.logging.Logger;
+
+
/**
*
* The new Apache OODT workflow style of processor. These processors are
@@ -343,14 +344,14 @@ public abstract class WorkflowProcessor implements WorkflowProcessorListener,
}
/**
- * Evaluates whether or not this processor's {@link WorkflowLifecycleStage}
+ * Evaluates whether or not this processor's {@link org.apache.oodt.cas.workflow.lifecycle.WorkflowLifecycleStage}
* is in any of the provided category names.
*
* @param categories The names of categories to check this processor's
- * {@link WorkflowLifecycleStage} against.
+ * {@link org.apache.oodt.cas.workflow.lifecycle.WorkflowLifecycleStage} against.
*
* @return True, if any of the category names provided is the name of
- * this processor's internal {@link WorkflowLifecycleStage}, False otherwise.
+ * this processor's internal {@link org.apache.oodt.cas.workflow.lifecycle.WorkflowLifecycleStage}, False otherwise.
*/
public boolean isAnyCategory(String... categories) {
for (String category : categories) {
@@ -433,10 +434,10 @@ public abstract class WorkflowProcessor implements WorkflowProcessorListener,
/**
* This is the core method of the WorkflowProcessor class in the new Wengine
* style workflows. Instead of requiring that a processor actually walk
- * through the underlying {@link Workflow}, these style WorkflowProcessors
+ * through the underlying {@link org.apache.oodt.cas.workflow.structs.Workflow}, these style WorkflowProcessors
* actually require their implementing sub-classes to return the current set
* of Runnable sub-processors (which could be tasks, conditions, even
- * {@link Workflow}s themselves.
+ * {@link org.apache.oodt.cas.workflow.structs.Workflow}s themselves.
*
* The Parallel sub-class returns a list of task or condition processors that
* are able to run at a given time. The Sequential sub-class returns only a
http://git-wip-us.apache.org/repos/asf/oodt/blob/4d8da8c0/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/processor/WorkflowProcessorQueue.java
----------------------------------------------------------------------
diff --git a/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/processor/WorkflowProcessorQueue.java b/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/processor/WorkflowProcessorQueue.java
index 95964fe..a0fceaf 100644
--- a/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/processor/WorkflowProcessorQueue.java
+++ b/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/processor/WorkflowProcessorQueue.java
@@ -18,37 +18,29 @@
package org.apache.oodt.cas.workflow.engine.processor;
//JDK imports
-import java.util.HashMap;
-import java.util.List;
-import java.util.Map;
-import java.util.Vector;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-//OODT imports
-import org.apache.oodt.cas.workflow.engine.TaskQuerier;
import org.apache.oodt.cas.workflow.instrepo.WorkflowInstanceRepository;
import org.apache.oodt.cas.workflow.lifecycle.WorkflowLifecycle;
import org.apache.oodt.cas.workflow.lifecycle.WorkflowLifecycleManager;
import org.apache.oodt.cas.workflow.lifecycle.WorkflowState;
import org.apache.oodt.cas.workflow.repository.WorkflowRepository;
-import org.apache.oodt.cas.workflow.structs.ConditionTaskInstance;
-import org.apache.oodt.cas.workflow.structs.Graph;
-import org.apache.oodt.cas.workflow.structs.ParentChildWorkflow;
-import org.apache.oodt.cas.workflow.structs.Workflow;
-import org.apache.oodt.cas.workflow.structs.WorkflowCondition;
-import org.apache.oodt.cas.workflow.structs.WorkflowInstance;
-import org.apache.oodt.cas.workflow.structs.WorkflowInstancePage;
-import org.apache.oodt.cas.workflow.structs.WorkflowTask;
-import org.apache.oodt.cas.workflow.structs.WorkflowTaskConfiguration;
+import org.apache.oodt.cas.workflow.structs.*;
import org.apache.oodt.cas.workflow.structs.exceptions.EngineException;
import org.apache.oodt.cas.workflow.structs.exceptions.InstanceRepositoryException;
import org.apache.oodt.cas.workflow.structs.exceptions.RepositoryException;
+import java.util.HashMap;
+import java.util.List;
+import java.util.Map;
+import java.util.Vector;
+import java.util.logging.Level;
+import java.util.logging.Logger;
+
+//OODT imports
+
/**
*
* The queue of available {@link WorkflowTask}s, that will be fed into the
- * {@link TaskQuerier}.
+ * {@link org.apache.oodt.cas.workflow.engine.TaskQuerier}.
*
* @author mattmann
* @version $Revision$
http://git-wip-us.apache.org/repos/asf/oodt/blob/4d8da8c0/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/runner/AsynchronousLocalEngineRunnerFactory.java
----------------------------------------------------------------------
diff --git a/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/runner/AsynchronousLocalEngineRunnerFactory.java b/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/runner/AsynchronousLocalEngineRunnerFactory.java
index e8f0d4f..54b6919 100644
--- a/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/runner/AsynchronousLocalEngineRunnerFactory.java
+++ b/workflow/src/main/java/org/apache/oodt/cas/workflow/engine/runner/AsynchronousLocalEngineRunnerFactory.java
@@ -16,10 +16,6 @@
*/
package org.apache.oodt.cas.workflow.engine.runner;
-//OODT imports
-import org.apache.oodt.cas.workflow.instrepo.WorkflowInstanceRepository;
-import org.apache.oodt.cas.workflow.util.GenericWorkflowObjectFactory;
-
/**
* A {@link EngineRunnerFactory} which creates
* {@link AsynchronousLocalEngineRunner}s.