|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MojoBindingFactory
Responsible for constructing or parsing MojoBinding instances from one of several sources, potentially
using the PluginLoader to resolve any plugin prefixes first.
| Field Summary | |
|---|---|
static java.lang.String |
ROLE
|
| 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 parseMojoBinding(String, MavenProject, MavenSession, boolean)
which assumes the project is null and prefixes are not allowed. |
MojoBinding |
parseMojoBinding(java.lang.String bindingSpec,
MavenProject project)
Simplified version of 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. |
| Field Detail |
|---|
static final java.lang.String ROLE
| Method Detail |
|---|
MojoBinding parseMojoBinding(java.lang.String bindingSpec,
MavenProject project,
MavenSession session,
boolean allowPrefixReference)
throws LifecycleSpecificationException,
LifecycleLoaderException
LifecycleSpecificationException
LifecycleLoaderException
MojoBinding createMojoBinding(java.lang.String groupId,
java.lang.String artifactId,
java.lang.String version,
java.lang.String goal,
MavenProject project)
MojoBinding parseMojoBinding(java.lang.String bindingSpec)
throws LifecycleSpecificationException
parseMojoBinding(String, MavenProject, MavenSession, 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.
LifecycleSpecificationException
MojoBinding parseMojoBinding(java.lang.String bindingSpec,
MavenProject project)
throws LifecycleSpecificationException
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.
LifecycleSpecificationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||