Class PsyllaTask

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
coneforest.psylla.ant.PsyllaTask
All Implemented Interfaces:
Cloneable

public class PsyllaTask extends org.apache.tools.ant.Task
The psylla Ant task.

Supported attributes:

  • eval
  • script
  • locale
  • consoleEncoding
  • classPath
  • libraryPath
  • timeout
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    class 
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Add a command-line argument.
    void
     
    void
    Set the class path.
    void
    Set the console encoding.
    void
    setEval(String value)
    Set the eval string.
    void
    Set the library path.
    void
    Set the locale.
    void
    setScript(File value)
    Set the script.
    void
    Set the timeout.

    Methods inherited from class org.apache.tools.ant.Task

    bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, init, 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, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PsyllaTask

      public PsyllaTask()
  • Method Details

    • execute

      public void execute() throws org.apache.tools.ant.BuildException
      Overrides:
      execute in class org.apache.tools.ant.Task
      Throws:
      org.apache.tools.ant.BuildException
    • setEval

      public void setEval(String value)
      Set the eval string.
      Parameters:
      value - the eval string.
    • setClassPath

      public void setClassPath(String value)
      Set the class path.
      Parameters:
      value - the class path.
    • setLibraryPath

      public void setLibraryPath(String value)
      Set the library path.
      Parameters:
      value - the library path.
    • setLocale

      public void setLocale(String value)
      Set the locale.
      Parameters:
      value - the locale name.
    • setConsoleEncoding

      public void setConsoleEncoding(String value)
      Set the console encoding.
      Parameters:
      value - the console encoding.
    • setScript

      public void setScript(File value)
      Set the script.
      Parameters:
      value - the script.
    • setTimeout

      public void setTimeout(Integer timeout)
      Set the timeout.
      Parameters:
      timeout - the timeout.
    • createArg

      public PsyllaTask.Arg createArg()
      Add a command-line argument.