|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.maven.lifecycle.binding.DefaultMojoBindingFactory
@Component(role=MojoBindingFactory.class) public class DefaultMojoBindingFactory
Responsible for constructing or parsing MojoBinding instances from one of several sources, potentially
using the PluginLoader to resolve any plugin prefixes first.
| Field Summary |
|---|
| Fields inherited from interface org.apache.maven.lifecycle.binding.MojoBindingFactory |
|---|
ROLE |
| Constructor Summary | |
|---|---|
DefaultMojoBindingFactory()
|
|
| Method Summary | |
|---|---|
MojoBinding |
createMojoBinding(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String goal,
MavenProject project)
Create a new MojoBinding instance with the specified information, and inject POM configurations appropriate to that mojo before returning it. |
MojoBinding |
parseMojoBinding(java.lang.String bindingSpec)
Simplified version of MojoBindingFactory#parseMojoBinding(String, MavenProject, boolean)
which assumes the project is null and prefixes are not allowed. |
MojoBinding |
parseMojoBinding(java.lang.String bindingSpec,
MavenProject project)
Simplified version of MojoBindingFactory.parseMojoBinding(String, MavenProject, MavenSession, boolean)
which assumes that prefixes are not allowed. |
MojoBinding |
parseMojoBinding(java.lang.String bindingSpec,
MavenProject project,
MavenSession session,
boolean allowPrefixReference)
Parse the specified mojo string into a MojoBinding, optionally allowing plugin-prefix references. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultMojoBindingFactory()
| Method Detail |
|---|
public MojoBinding parseMojoBinding(java.lang.String bindingSpec,
MavenProject project,
MavenSession session,
boolean allowPrefixReference)
throws LifecycleSpecificationException,
LifecycleLoaderException
parseMojoBinding in interface MojoBindingFactoryLifecycleSpecificationException
LifecycleLoaderException
public MojoBinding createMojoBinding(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String goal,
MavenProject project)
createMojoBinding in interface MojoBindingFactory
public MojoBinding parseMojoBinding(java.lang.String bindingSpec)
throws LifecycleSpecificationException
MojoBindingFactory#parseMojoBinding(String, MavenProject, boolean)
which assumes the project is null and prefixes are not allowed. This method will never
result in the PluginLoader being used to resolve the PluginDescriptor.
parseMojoBinding in interface MojoBindingFactoryLifecycleSpecificationException
public MojoBinding parseMojoBinding(java.lang.String bindingSpec,
MavenProject project)
throws LifecycleSpecificationException
MojoBindingFactoryMojoBindingFactory.parseMojoBinding(String, MavenProject, MavenSession, boolean)
which assumes that prefixes are not allowed. This method will never
result in the PluginLoader being used to resolve the PluginDescriptor.
parseMojoBinding in interface MojoBindingFactoryLifecycleSpecificationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||