|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.maven.tools.plugin.DefaultPluginToolsRequest
public class DefaultPluginToolsRequest
Default implementation of PluginToolsRequest
, which is used to pass parameters to components used to extract
MojoDescriptor
instances from different types of metadata for a given plugin.
Constructor Summary | |
---|---|
DefaultPluginToolsRequest(org.apache.maven.project.MavenProject project,
org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
|
Method Summary | |
---|---|
java.lang.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(java.lang.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)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPluginToolsRequest(org.apache.maven.project.MavenProject project, org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
Method Detail |
---|
public org.apache.maven.plugin.descriptor.PluginDescriptor getPluginDescriptor()
PluginDescriptor
currently being populated as part of the build of the
current plugin project.
getPluginDescriptor
in interface PluginToolsRequest
public PluginToolsRequest setPluginDescriptor(org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
setPluginDescriptor
in interface PluginToolsRequest
PluginToolsRequest.getPluginDescriptor()
public org.apache.maven.project.MavenProject getProject()
MavenProject
instance in use.
getProject
in interface PluginToolsRequest
public PluginToolsRequest setProject(org.apache.maven.project.MavenProject project)
setProject
in interface PluginToolsRequest
PluginToolsRequest.getProject()
public java.lang.String getEncoding()
getEncoding
in interface PluginToolsRequest
null
.public PluginToolsRequest setEncoding(java.lang.String encoding)
setEncoding
in interface PluginToolsRequest
encoding
- The file encoding of the source files, may be empty or null
to use the platform's
default encoding.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |