public interface PluginToolsRequest
MojoDescriptor
instances from metadata for a certain type of mojo.Modifier and Type | Method and Description |
---|---|
String |
getEncoding()
Gets the file encoding of the source files.
|
org.apache.maven.plugin.descriptor.PluginDescriptor |
getPluginDescriptor()
Return the
PluginDescriptor currently being populated as part of the build of the
current plugin project. |
org.apache.maven.project.MavenProject |
getProject()
Return the current
MavenProject instance in use. |
PluginToolsRequest |
setEncoding(String encoding)
Sets the file encoding of the source files.
|
PluginToolsRequest |
setPluginDescriptor(org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor) |
PluginToolsRequest |
setProject(org.apache.maven.project.MavenProject project) |
org.apache.maven.project.MavenProject getProject()
MavenProject
instance in use.PluginToolsRequest setProject(org.apache.maven.project.MavenProject project)
getProject()
org.apache.maven.plugin.descriptor.PluginDescriptor getPluginDescriptor()
PluginDescriptor
currently being populated as part of the build of the
current plugin project.PluginToolsRequest setPluginDescriptor(org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
getPluginDescriptor()
String getEncoding()
null
.PluginToolsRequest setEncoding(String encoding)
encoding
- The file encoding of the source files, may be empty or null
to use the platform's
default encoding.Copyright © 2004-2012 Apache Software Foundation. All Rights Reserved.