Class X4OTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
org.x4o.tool.ant.plugin.X4OTask
- All Implemented Interfaces:
Cloneable
public class X4OTask
extends org.apache.tools.ant.Task
AbstractX4OLanguageTask is base ant x4o language task executor.
- Version:
- 1.0 Apr 8, 2013
- Author:
- Willem Cazander
-
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addX4oTaskProperty
(X4OTaskProperty property) Adds the ant child x4oTaskProperty element.void
execute()
Executes the x4o eld schema task.boolean
boolean
void
setFailonerror
(boolean failonerror) void
setLanguageName
(String languageName) void
setLanguageVersion
(String languageVersion) void
void
setVerbose
(boolean verbose) 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
-
Constructor Details
-
X4OTask
public X4OTask()Constructs this ant x4o task.
-
-
Method Details
-
addX4oTaskProperty
Adds the ant child x4oTaskProperty element.- Parameters:
property
-
-
execute
public void execute() throws org.apache.tools.ant.BuildExceptionExecutes the x4o eld schema task.- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
- See Also:
-
getLanguageName
- Returns:
- the languageName
-
setLanguageName
- Parameters:
languageName
- the languageName to set
-
getLanguageVersion
- Returns:
- the languageVersion
-
setLanguageVersion
- Parameters:
languageVersion
- the languageVersion to set
-
isVerbose
public boolean isVerbose()- Returns:
- the verbose
-
setVerbose
public void setVerbose(boolean verbose) - Parameters:
verbose
- the verbose to set
-
isFailonerror
public boolean isFailonerror()- Returns:
- the failonerror
-
setFailonerror
public void setFailonerror(boolean failonerror) - Parameters:
failonerror
- the failonerror to set
-
getTaskId
- Returns:
- the taskId
-
setTaskId
- Parameters:
taskId
- the taskId to set
-