Class X4OLanguageTaskMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.x4o.tool.maven.plugin.X4OLanguageTaskMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="x4o-language-task",
requiresProject=true,
requiresDependencyResolution=COMPILE)
public class X4OLanguageTaskMojo
extends org.apache.maven.plugin.AbstractMojo
X4OLanguageTaskMojo can execute a task on a language.
- Version:
- 1.0 Apr 9, 2013
- Author:
- Willem Cazander
-
Field Summary
FieldsFields inherited from interface org.apache.maven.plugin.Mojo
ROLE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addTaskPropertyValue
(String taskPropertyLine) void
execute()
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.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
GOAL
- See Also:
-
-
Constructor Details
-
X4OLanguageTaskMojo
public X4OLanguageTaskMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException- Throws:
org.apache.maven.plugin.MojoExecutionException
-
getTaskPropertyValues
-
addTaskPropertyValue
-
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
-
getLanguageName
- Returns:
- the languageName
-
setLanguageName
- Parameters:
languageName
- the languageName to set
-
getLanguageVersion
- Returns:
- the languageVersion
-
setLanguageVersion
- Parameters:
languageVersion
- the languageVersion to set
-
getTaskId
- Returns:
- the taskId
-
setTaskId
- Parameters:
taskId
- the taskId to set
-