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:
evalscriptlocaleconsoleEncodingclassPathlibraryPathtimeout
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionAdd a command-line argument.voidexecute()voidsetClassPath(String value) Set the class path.voidsetConsoleEncoding(String value) Set the console encoding.voidSet the eval string.voidsetLibraryPath(String value) Set the library path.voidSet the locale.voidSet the script.voidsetTimeout(Integer timeout) 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, setTaskTypeMethods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
-
Constructor Details
-
PsyllaTask
public PsyllaTask()
-
-
Method Details
-
execute
public void execute() throws org.apache.tools.ant.BuildException- Overrides:
executein classorg.apache.tools.ant.Task- Throws:
org.apache.tools.ant.BuildException
-
setEval
Set the eval string.- Parameters:
value- the eval string.
-
setClassPath
Set the class path.- Parameters:
value- the class path.
-
setLibraryPath
Set the library path.- Parameters:
value- the library path.
-
setLocale
Set the locale.- Parameters:
value- the locale name.
-
setConsoleEncoding
Set the console encoding.- Parameters:
value- the console encoding.
-
setScript
Set the script.- Parameters:
value- the script.
-
setTimeout
Set the timeout.- Parameters:
timeout- the timeout.
-
createArg
Add a command-line argument.
-