summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkthoms2009-01-20 03:50:41 (EST)
committer kthoms2009-01-20 03:50:41 (EST)
commitc0f9d9982af39e6800b4d02984dd3598285a8cdb (patch)
treec5afbf9b2068364f3b2a4193773c9e425bac4760
parentd428d0d9631e558e0fb260dbcdf556df364a134e (diff)
downloadorg.eclipse.mwe-c0f9d9982af39e6800b4d02984dd3598285a8cdb.zip
org.eclipse.mwe-c0f9d9982af39e6800b4d02984dd3598285a8cdb.tar.gz
org.eclipse.mwe-c0f9d9982af39e6800b4d02984dd3598285a8cdb.tar.bz2
Javadoc
Moved Parameter to internal package
-rw-r--r--plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/ant/WorkflowAntTask.java15
1 files changed, 12 insertions, 3 deletions
diff --git a/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/ant/WorkflowAntTask.java b/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/ant/WorkflowAntTask.java
index a334857..578dde0 100644
--- a/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/ant/WorkflowAntTask.java
+++ b/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/ant/WorkflowAntTask.java
@@ -17,22 +17,30 @@ import java.util.List;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.taskdefs.Java;
import org.eclipse.emf.mwe.core.WorkflowRunner;
+import org.eclipse.emf.mwe.internal.core.ant.Parameter;
/**
- * Ant task that runs the openArchitectureWare Workflow Engine.
+ * Ant task that runs the Model Workflow Engine.
* <p>
- * This task specializes the <tt>Java</tt> task.
- *
+ * This task specializes Ant's <tt>Java</tt> task.
+ * @see http://ant.apache.org/manual/CoreTasks/java.html
*/
public class WorkflowAntTask extends Java {
private String file;
private final List<Parameter> params = new ArrayList<Parameter>();
+ /**
+ * Property getter.
+ */
public String getFile() {
return file;
}
+ /**
+ * Sets the workflow file to execute.
+ * @param file Path of the workflow file.
+ */
public void setFile(final String file) {
this.file = file;
}
@@ -42,6 +50,7 @@ public class WorkflowAntTask extends Java {
*/
@Override
public void execute() throws BuildException {
+ // add Parameter as arg instances to Java task
for (Parameter param : params) {
if (param != null) {
final String paramString = "-p" + param.getName() + "=" + param.getValue();