Class PluginPropertyUtils.PluginConfigPathParams

java.lang.Object
org.netbeans.modules.maven.api.PluginPropertyUtils.PluginConfigPathParams
Enclosing class:
PluginPropertyUtils

public static final class PluginPropertyUtils.PluginConfigPathParams extends Object
Query parameters to convert property containing a dependency list into artifact list.
Since:
2.151
  • Constructor Details

    • PluginConfigPathParams

      public PluginConfigPathParams(String pluginGroupId, String pluginArtifactId, String pathProperty)
      Creates a query instance with mandatory parameters
      Parameters:
      pluginGroupId - plugin's group ID
      pluginArtifactId - plugin's artifact ID
      pathProperty - name of the property (the property should contain a list of items)
    • PluginConfigPathParams

      @Deprecated public PluginConfigPathParams(String pluginGroupId, String pluginArtifactId, String pathProperty, String pathItemName)
      Deprecated.
      Creates a query instance with mandatory parameters
      Parameters:
      pluginGroupId - plugin's group ID
      pluginArtifactId - plugin's artifact ID
      pathProperty - name of the property (the property should contain a list of items)
      pathItemName - name of the single item's element (ignored)
  • Method Details

    • setGoal

      public void setGoal(String goal)
      Optional. Specifies the goal whose configuration should be inspected.
      Parameters:
      goal - goal ID
    • setArtifactType

      public void setArtifactType(String artifactType)
      Optional. Filters artifact types that are accepted. If unspecified, the type defaults to "jar".
      Parameters:
      artifactType - accepted artifact type.
    • setDefaultScope

      public void setDefaultScope(String defaultScope)
    • getPluginGroupId

      public String getPluginGroupId()
    • getPluginArtifactId

      public String getPluginArtifactId()
    • getGoal

      public String getGoal()
    • getPathProperty

      public String getPathProperty()
    • getPathItemName

      @Deprecated public String getPathItemName()
      Deprecated.
      Returns null.
    • getArtifactType

      public String getArtifactType()
    • getDefaultScope

      public String getDefaultScope()