org.jcoderz.commons.taskdefs
Class GnuplotTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.jcoderz.commons.taskdefs.GnuplotTask
All Implemented Interfaces:
Cloneable

public class GnuplotTask
extends org.apache.tools.ant.Task

Ant task for the 'gnuplot' command.

Author:
Michael Griffel

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
GnuplotTask()
           
 
Method Summary
 void execute()
          Execute this task.
 void setFailonerror(boolean b)
          Set whether we should fail on an error.
 void setIn(File f)
          Sets the gnuplot input file to be processed.
 void setInFiles(File[] inFiles)
          Set the input files.
 
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

GnuplotTask

public GnuplotTask()
Method Detail

setIn

public void setIn(File f)
Sets the gnuplot input file to be processed.

Parameters:
f - the gnuplot input file (log message info).

setFailonerror

public void setFailonerror(boolean b)
Set whether we should fail on an error.

Parameters:
b - Whether we should fail on an error.

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Execute this task.

Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException - An building exception occurred.

setInFiles

public void setInFiles(File[] inFiles)
Set the input files.

Parameters:
inFiles - the input files.


Copyright 2007 The jCoderZ Project.