Class Resolution
java.lang.Object
org.apache.maven.api.plugin.descriptor.Resolution
- All Implemented Interfaces:
- Serializable
@Experimental
@Generated
@ThreadSafe
@Immutable
public class Resolution
extends Object
implements Serializable
Dependency collection or resolution injection.
- See Also:
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic classBuilder class used to create Resolution instances.
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedResolution(Resolution.Builder builder) Constructor for this class, to be called from its subclasses andResolution.Builder.
- 
Method SummaryModifier and TypeMethodDescriptiongetField()the name of the field to be injectedpathScope used to flatten dependencieseithercollect,flatten, orresolvestatic Resolution.BuilderCreates a newResolutionbuilder instance.static Resolution.BuildernewBuilder(boolean withDefaults) Creates a newResolutionbuilder instance using default values or not.static Resolution.BuildernewBuilder(Resolution from) Creates a newResolutionbuilder instance using the specified object as a basis.static Resolution.BuildernewBuilder(Resolution from, boolean forceCopy) Creates a newResolutionbuilder instance using the specified object as a basis.static ResolutionCreates a newResolutioninstance.static ResolutionnewInstance(boolean withDefaults) Creates a newResolutioninstance using default values or not.with()Creates a new builder with this object as the basis.Creates a newResolutioninstance using the specified field.withPathScope(String pathScope) Creates a newResolutioninstance using the specified pathScope.withRequestType(String requestType) Creates a newResolutioninstance using the specified requestType.
- 
Constructor Details- 
ResolutionConstructor for this class, to be called from its subclasses andResolution.Builder.- See Also:
 
 
- 
- 
Method Details- 
getFieldthe name of the field to be injected- Returns:
- a String
 
- 
getPathScopepathScope used to flatten dependencies- Returns:
- a String
 
- 
getRequestTypeeithercollect,flatten, orresolve- Returns:
- a String
 
- 
withCreates a new builder with this object as the basis.- Returns:
- a Builder
 
- 
withFieldCreates a newResolutioninstance using the specified field.- Parameters:
- field- the new- Stringto use
- Returns:
- a Resolutionwith the specified field
 
- 
withPathScopeCreates a newResolutioninstance using the specified pathScope.- Parameters:
- pathScope- the new- Stringto use
- Returns:
- a Resolutionwith the specified pathScope
 
- 
withRequestTypeCreates a newResolutioninstance using the specified requestType.- Parameters:
- requestType- the new- Stringto use
- Returns:
- a Resolutionwith the specified requestType
 
- 
newInstanceCreates a newResolutioninstance. Equivalent tonewInstance(true).- Returns:
- a new Resolution
- See Also:
 
- 
newInstanceCreates a newResolutioninstance using default values or not. Equivalent tonewBuilder(withDefaults).build().- Parameters:
- withDefaults- the boolean indicating whether default values should be used
- Returns:
- a new Resolution
 
- 
newBuilderCreates a newResolutionbuilder instance. Equivalent tonewBuilder(true).- Returns:
- a new Builder
- See Also:
 
- 
newBuilderCreates a newResolutionbuilder instance using default values or not.- Parameters:
- withDefaults- the boolean indicating whether default values should be used
- Returns:
- a new Builder
 
- 
newBuilderCreates a newResolutionbuilder instance using the specified object as a basis. Equivalent tonewBuilder(from, false).- Parameters:
- from- the- Resolutioninstance to use as a basis
- Returns:
- a new Builder
 
- 
newBuilderCreates a newResolutionbuilder instance using the specified object as a basis.- Parameters:
- from- the- Resolutioninstance to use as a basis
- forceCopy- the boolean indicating if a copy should be forced
- Returns:
- a new Builder
 
 
-