|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PluginToolsRequest
Request that encapsulates all information relevant to the process of extracting MojoDescriptor
instances from metadata for a certain type of mojo.
Method Summary | |
---|---|
Set<org.apache.maven.artifact.Artifact> |
getDependencies()
Returns the list of Artifact used in class path scanning for annotations |
String |
getEncoding()
Gets the file encoding of the source files. |
org.apache.maven.artifact.repository.ArtifactRepository |
getLocal()
|
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. |
List<org.apache.maven.artifact.repository.ArtifactRepository> |
getRemoteRepos()
|
boolean |
isSkipErrorNoDescriptorsFound()
|
PluginToolsRequest |
setDependencies(Set<org.apache.maven.artifact.Artifact> dependencies)
|
PluginToolsRequest |
setEncoding(String encoding)
Sets the file encoding of the source files. |
PluginToolsRequest |
setLocal(org.apache.maven.artifact.repository.ArtifactRepository local)
|
PluginToolsRequest |
setPluginDescriptor(org.apache.maven.plugin.descriptor.PluginDescriptor pluginDescriptor)
|
PluginToolsRequest |
setProject(org.apache.maven.project.MavenProject project)
|
PluginToolsRequest |
setRemoteRepos(List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepos)
|
PluginToolsRequest |
setSkipErrorNoDescriptorsFound(boolean skipErrorNoDescriptorsFound)
By default an exception is throw if no mojo descriptor is found. |
Method Detail |
---|
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.
PluginToolsRequest setSkipErrorNoDescriptorsFound(boolean skipErrorNoDescriptorsFound)
boolean isSkipErrorNoDescriptorsFound()
Set<org.apache.maven.artifact.Artifact> getDependencies()
Artifact
used in class path scanning for annotations
PluginToolsRequest setDependencies(Set<org.apache.maven.artifact.Artifact> dependencies)
dependencies
-
List<org.apache.maven.artifact.repository.ArtifactRepository> getRemoteRepos()
PluginToolsRequest setRemoteRepos(List<org.apache.maven.artifact.repository.ArtifactRepository> remoteRepos)
remoteRepos
-
org.apache.maven.artifact.repository.ArtifactRepository getLocal()
PluginToolsRequest setLocal(org.apache.maven.artifact.repository.ArtifactRepository local)
local
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |