org.pyant.tasks
Class PythonInteractiveBaseTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.pyant.tasks.PythonBaseTask
              extended by org.pyant.tasks.PythonInteractiveBaseTask
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
PythonCompileTask, PythonDocTask, PythonTestTask

public class PythonInteractiveBaseTask
extends PythonBaseTask

Author:
Ron Smith Base class for Ant tasks that invoke the Python runtime in interactive mode.

Field Summary
protected  String script
           
 
Fields inherited from class org.pyant.tasks.PythonBaseTask
failonerror, optimize, python, pythonpath
 
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
PythonInteractiveBaseTask()
           
 
Method Summary
protected  void addCommandlineArgs(org.apache.tools.ant.types.Commandline cmdline)
           
protected  org.apache.tools.ant.taskdefs.ExecuteStreamHandler createStreamHandler()
           
 
Methods inherited from class org.pyant.tasks.PythonBaseTask
createCommandline, createExecute, execExecuteTask, executeScript, failureOcurred, fixFilePath, getCommandline, getPython, prepCommandline, setFailonerror, setOptimize, setOptimizeArgument, setPython, setPythonpath, setPythonPathInExecute, setPythonpathref
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, execute, 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
 

Field Detail

script

protected String script
Constructor Detail

PythonInteractiveBaseTask

public PythonInteractiveBaseTask()
Method Detail

createStreamHandler

protected org.apache.tools.ant.taskdefs.ExecuteStreamHandler createStreamHandler()
Overrides:
createStreamHandler in class PythonBaseTask

addCommandlineArgs

protected void addCommandlineArgs(org.apache.tools.ant.types.Commandline cmdline)
Overrides:
addCommandlineArgs in class PythonBaseTask


Copyright © 2010. All Rights Reserved.