Class PluginStub
java.lang.Object
org.apache.maven.api.plugin.testing.stubs.PluginStub
- All Implemented Interfaces:
org.apache.maven.api.Plugin
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.apache.maven.api.Artifact
List<org.apache.maven.api.Dependency>
org.apache.maven.api.plugin.descriptor.PluginDescriptor
List<org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle>
org.apache.maven.api.model.Plugin
getModel()
void
setArtifact
(org.apache.maven.api.Artifact artifact) void
setClassLoader
(ClassLoader classLoader) void
setDependencies
(List<org.apache.maven.api.Dependency> dependencies) void
setDependenciesMap
(Map<String, org.apache.maven.api.Dependency> dependenciesMap) void
setDescriptor
(org.apache.maven.api.plugin.descriptor.PluginDescriptor descriptor) void
setLifecycles
(List<org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle> lifecycles) void
setModel
(org.apache.maven.api.model.Plugin model)
-
Constructor Details
-
PluginStub
public PluginStub()
-
-
Method Details
-
getModel
public org.apache.maven.api.model.Plugin getModel()- Specified by:
getModel
in interfaceorg.apache.maven.api.Plugin
-
setModel
public void setModel(org.apache.maven.api.model.Plugin model) -
getDescriptor
public org.apache.maven.api.plugin.descriptor.PluginDescriptor getDescriptor()- Specified by:
getDescriptor
in interfaceorg.apache.maven.api.Plugin
-
setDescriptor
public void setDescriptor(org.apache.maven.api.plugin.descriptor.PluginDescriptor descriptor) -
getLifecycles
- Specified by:
getLifecycles
in interfaceorg.apache.maven.api.Plugin
-
setLifecycles
public void setLifecycles(List<org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle> lifecycles) -
getClassLoader
- Specified by:
getClassLoader
in interfaceorg.apache.maven.api.Plugin
-
setClassLoader
-
getArtifact
public org.apache.maven.api.Artifact getArtifact()- Specified by:
getArtifact
in interfaceorg.apache.maven.api.Plugin
-
setArtifact
public void setArtifact(org.apache.maven.api.Artifact artifact) -
getDependencies
- Specified by:
getDependencies
in interfaceorg.apache.maven.api.Plugin
-
setDependencies
-
getDependenciesMap
- Specified by:
getDependenciesMap
in interfaceorg.apache.maven.api.Plugin
-
setDependenciesMap
-