Class AvailableDataMojo
java.lang.Object
org.apache.maven.plugin.AbstractMojo
org.nuiton.eugene.plugin.AvailableDataMojo
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
@Mojo(name="available-data",
requiresDirectInvocation=true,
requiresDependencyResolution=TEST)
public class AvailableDataMojo
extends org.apache.maven.plugin.AbstractMojo
Obtain the list of some known data informations.
Use the
dataTypes property to specify a specific data type to use
(otherwise will display all known data types).- Since:
- 2.0.0
- Author:
- Tony Chemit - chemit@codelutin.com
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected org.nuiton.eugene.models.extension.tagvalue.provider.TagValueMetadatasProviderprotected StringData type to display (let empty to see all datas).All available writers introspects via plexus.All available templates introspects via plexus.All available models (obtain by plexus, keys are plexus roles, values are a instance of corresponding model).protected Map<String, org.nuiton.eugene.models.extension.tagvalue.provider.TagValueMetadatasProvider> All available tag value providers introspects via plexus.All available writers introspects via plexus.Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidappendData(org.nuiton.eugene.plugin.AvailableDataMojo.AvailableData data, StringBuilder buffer) voidexecute()Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
-
Field Details
-
dataTypes
Data type to display (let empty to see all datas). Can specify more than one separated by comma. Available types are :modeltype, modelreader, modeltemplate, writer, stereotype, tagvalue
Note: Let empty to display all data types.- Since:
- 2.0.0
-
modelTypes
-
modelReaders
-
modelTemplates
-
writers
-
tagValueMetadatasProviders
-
currentTagValueMetadatasProvider
protected org.nuiton.eugene.models.extension.tagvalue.provider.TagValueMetadatasProvider currentTagValueMetadatasProvider
-
-
Constructor Details
-
AvailableDataMojo
public AvailableDataMojo()
-
-
Method Details
-
execute
public void execute() throws org.apache.maven.plugin.MojoExecutionException, org.apache.maven.plugin.MojoFailureException- Throws:
org.apache.maven.plugin.MojoExecutionExceptionorg.apache.maven.plugin.MojoFailureException
-
appendData
protected void appendData(org.nuiton.eugene.plugin.AvailableDataMojo.AvailableData data, StringBuilder buffer)
-