|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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(MavenProject project,
PluginDescriptor pluginDescriptor)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPluginToolsRequest(MavenProject project, PluginDescriptor pluginDescriptor)
Method Detail |
---|
public PluginDescriptor getPluginDescriptor()
PluginDescriptor
currently being populated as part of the build of the
current plugin project.
getPluginDescriptor
in interface PluginToolsRequest
public PluginToolsRequest setPluginDescriptor(PluginDescriptor pluginDescriptor)
setPluginDescriptor
in interface PluginToolsRequest
PluginToolsRequest.getPluginDescriptor()
public MavenProject getProject()
MavenProject
instance in use.
getProject
in interface PluginToolsRequest
public PluginToolsRequest setProject(MavenProject project)
setProject
in interface PluginToolsRequest
PluginToolsRequest.getProject()
public String getEncoding()
getEncoding
in interface PluginToolsRequest
null
.public PluginToolsRequest setEncoding(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.
public boolean isSkipErrorNoDescriptorsFound()
isSkipErrorNoDescriptorsFound
in interface PluginToolsRequest
public PluginToolsRequest setSkipErrorNoDescriptorsFound(boolean skipErrorNoDescriptorsFound)
setSkipErrorNoDescriptorsFound
in interface PluginToolsRequest
public Set<Artifact> getDependencies()
PluginToolsRequest
Artifact
used in class path scanning for annotations
getDependencies
in interface PluginToolsRequest
public PluginToolsRequest setDependencies(Set<Artifact> dependencies)
setDependencies
in interface PluginToolsRequest
public List<ArtifactRepository> getRemoteRepos()
getRemoteRepos
in interface PluginToolsRequest
public PluginToolsRequest setRemoteRepos(List<ArtifactRepository> remoteRepos)
setRemoteRepos
in interface PluginToolsRequest
public ArtifactRepository getLocal()
getLocal
in interface PluginToolsRequest
public PluginToolsRequest setLocal(ArtifactRepository local)
setLocal
in interface PluginToolsRequest
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |