org.eclipse.emf.mwe.core.ant
Class WorkflowAntTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.Java
              extended by org.eclipse.emf.mwe.core.ant.WorkflowAntTask
All Implemented Interfaces:
java.lang.Cloneable

public class WorkflowAntTask
extends org.apache.tools.ant.taskdefs.Java

Ant task that runs the Model Workflow Engine.

This task specializes Ant's Java task.

See Also:
http://ant.apache.org/manual/CoreTasks/java.html

Field Summary
 
Fields inherited from class org.apache.tools.ant.taskdefs.Java
redirector, redirectorElement
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
WorkflowAntTask()
           
 
Method Summary
 java.lang.Object createParam()
          Creates a parameter.
 void execute()
          Executes the WorkflowRunner.
 java.lang.String getFile()
          Property getter.
 void setFile(java.lang.String file)
          Sets the workflow file to execute.
 
Methods inherited from class org.apache.tools.ant.taskdefs.Java
addAssertions, addConfiguredRedirector, addEnv, addSysproperty, addSyspropertyset, checkConfiguration, clearArgs, createArg, createBootclasspath, createClasspath, createJvmarg, createPermissions, createWatchdog, executeJava, executeJava, getCommandLine, getSysProperties, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, maybeSetResultPropertyValue, run, setAppend, setArgs, setClassname, setClasspath, setClasspathRef, setCloneVm, setDir, setError, setErrorProperty, setFailonerror, setFork, setInput, setInputString, setJar, setJvm, setJvmargs, setJVMVersion, setLogError, setMaxmemory, setNewenvironment, setOutput, setOutputproperty, setResultProperty, setSpawn, setTimeout, setupRedirector
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WorkflowAntTask

public WorkflowAntTask()
Method Detail

getFile

public java.lang.String getFile()
Property getter.


setFile

public void setFile(java.lang.String file)
Sets the workflow file to execute.

Parameters:
file - Path of the workflow file.

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Executes the WorkflowRunner.

Overrides:
execute in class org.apache.tools.ant.taskdefs.Java
Throws:
org.apache.tools.ant.BuildException

createParam

public java.lang.Object createParam()
Creates a parameter. Invoked by ant for each <param name="..." value="..."/> statement in the Ant file.

Returns:
New Parameter instance