Class PluginStub

java.lang.Object
org.apache.maven.api.plugin.testing.stubs.PluginStub
All Implemented Interfaces:
org.apache.maven.api.Plugin

public class PluginStub extends Object implements org.apache.maven.api.Plugin
  • Constructor Details

    • PluginStub

      public PluginStub()
  • Method Details

    • getModel

      public org.apache.maven.api.model.Plugin getModel()
      Specified by:
      getModel in interface org.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 interface org.apache.maven.api.Plugin
    • setDescriptor

      public void setDescriptor(org.apache.maven.api.plugin.descriptor.PluginDescriptor descriptor)
    • getLifecycles

      public List<org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle> getLifecycles()
      Specified by:
      getLifecycles in interface org.apache.maven.api.Plugin
    • setLifecycles

      public void setLifecycles(List<org.apache.maven.api.plugin.descriptor.lifecycle.Lifecycle> lifecycles)
    • getClassLoader

      public ClassLoader getClassLoader()
      Specified by:
      getClassLoader in interface org.apache.maven.api.Plugin
    • setClassLoader

      public void setClassLoader(ClassLoader classLoader)
    • getArtifact

      public org.apache.maven.api.Artifact getArtifact()
      Specified by:
      getArtifact in interface org.apache.maven.api.Plugin
    • setArtifact

      public void setArtifact(org.apache.maven.api.Artifact artifact)
    • getDependencies

      public List<org.apache.maven.api.Dependency> getDependencies()
      Specified by:
      getDependencies in interface org.apache.maven.api.Plugin
    • setDependencies

      public void setDependencies(List<org.apache.maven.api.Dependency> dependencies)
    • getDependenciesMap

      public Map<String,org.apache.maven.api.Dependency> getDependenciesMap()
      Specified by:
      getDependenciesMap in interface org.apache.maven.api.Plugin
    • setDependenciesMap

      public void setDependenciesMap(Map<String,org.apache.maven.api.Dependency> dependenciesMap)