Class PluginPropertyUtils.PluginConfigPathParams
java.lang.Object
org.netbeans.modules.maven.api.PluginPropertyUtils.PluginConfigPathParams
- Enclosing class:
PluginPropertyUtils
Query parameters to convert property containing a dependency list into artifact list.
- Since:
- 2.151
-
Constructor Summary
ConstructorsConstructorDescriptionPluginConfigPathParams
(String pluginGroupId, String pluginArtifactId, String pathProperty) Creates a query instance with mandatory parametersPluginConfigPathParams
(String pluginGroupId, String pluginArtifactId, String pathProperty, String pathItemName) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptiongetGoal()
Deprecated.void
setArtifactType
(String artifactType) Optional.void
setDefaultScope
(String defaultScope) void
Optional.
-
Constructor Details
-
PluginConfigPathParams
Creates a query instance with mandatory parameters- Parameters:
pluginGroupId
- plugin's group IDpluginArtifactId
- plugin's artifact IDpathProperty
- 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.List items can have arbitrary names, usePluginConfigPathParams(java.lang.String, java.lang.String, java.lang.String)
instead.Creates a query instance with mandatory parameters- Parameters:
pluginGroupId
- plugin's group IDpluginArtifactId
- plugin's artifact IDpathProperty
- name of the property (the property should contain a list of items)pathItemName
- name of the single item's element (ignored)
-
-
Method Details
-
setGoal
Optional. Specifies the goal whose configuration should be inspected.- Parameters:
goal
- goal ID
-
setArtifactType
Optional. Filters artifact types that are accepted. If unspecified, the type defaults to "jar".- Parameters:
artifactType
- accepted artifact type.
-
setDefaultScope
-
getPluginGroupId
-
getPluginArtifactId
-
getGoal
-
getPathProperty
-
getPathItemName
-
getArtifactType
-
getDefaultScope
-
PluginConfigPathParams(java.lang.String, java.lang.String, java.lang.String)
instead.