Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## com.nokia.ant.taskdefs
Class PythonTask

    java.lang.Object
      org.apache.tools.ant.ProjectComponent
          org.apache.tools.ant.Task
              com.nokia.ant.taskdefs.PythonTask

All Implemented Interfaces:
  java.lang.Cloneable

    public class PythonTask

extends org.apache.tools.ant.Task

Embed python code in ant, generates temporary python file and executes it

Field Summary

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
`PythonTask()`

Method Summary
`void` | `addText(java.lang.String text)`
`org.apache.tools.ant.types.Commandline.Argument` | `createArg()`
`void` | `execute()`
`void` | `setDir(java.io.File dirname)`
`void` | `setFailonerror(boolean failonerror)`
`void` | `setOutput(java.io.File outputname)`
`void` | `setOutputProperty(java.lang.String propertyname)`
`void` | `setResultProperty(java.lang.String propertyname)`
`void` | `setScript(java.lang.String scriptname)`

Methods inherited from class org.apache.tools.ant.Task
`bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, 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

### PythonTask

    public PythonTask()

Method Detail

### setOutputProperty

    public void setOutputProperty(java.lang.String propertyname)

### setResultProperty

    public void setResultProperty(java.lang.String propertyname)

### addText

    public void addText(java.lang.String text)

### setScript

    public void setScript(java.lang.String scriptname)

### setFailonerror

    public void setFailonerror(boolean failonerror)

### setOutput

    public void setOutput(java.io.File outputname)

### setDir

    public void setDir(java.io.File dirname)

### createArg

    public org.apache.tools.ant.types.Commandline.Argument createArg()

### execute

    public void execute()

  Overrides:
    `execute` in class `org.apache.tools.ant.Task`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD