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 Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder class used to create Resolution instances. - 
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedResolution(Resolution.Builder builder) Constructor for this class, to be called from its subclasses andResolution.Builder. - 
Method Summary
Modifier 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
- 
Resolution
Constructor for this class, to be called from its subclasses andResolution.Builder.- See Also:
 
 
 - 
 - 
Method Details
- 
getField
 - 
getPathScope
 - 
getRequestType
 - 
with
Creates a new builder with this object as the basis.- Returns:
 - a 
Builder 
 - 
withField
Creates a newResolutioninstance using the specified field.- Parameters:
 field- the newStringto use- Returns:
 - a 
Resolutionwith the specified field 
 - 
withPathScope
Creates a newResolutioninstance using the specified pathScope.- Parameters:
 pathScope- the newStringto use- Returns:
 - a 
Resolutionwith the specified pathScope 
 - 
withRequestType
Creates a newResolutioninstance using the specified requestType.- Parameters:
 requestType- the newStringto use- Returns:
 - a 
Resolutionwith the specified requestType 
 - 
newInstance
Creates a newResolutioninstance. Equivalent tonewInstance(true).- Returns:
 - a new 
Resolution - See Also:
 
 - 
newInstance
Creates 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 
 - 
newBuilder
Creates a newResolutionbuilder instance. Equivalent tonewBuilder(true).- Returns:
 - a new 
Builder - See Also:
 
 - 
newBuilder
Creates a newResolutionbuilder instance using default values or not.- Parameters:
 withDefaults- the boolean indicating whether default values should be used- Returns:
 - a new 
Builder 
 - 
newBuilder
Creates a newResolutionbuilder instance using the specified object as a basis. Equivalent tonewBuilder(from, false).- Parameters:
 from- theResolutioninstance to use as a basis- Returns:
 - a new 
Builder 
 - 
newBuilder
Creates a newResolutionbuilder instance using the specified object as a basis.- Parameters:
 from- theResolutioninstance to use as a basisforceCopy- the boolean indicating if a copy should be forced- Returns:
 - a new 
Builder 
 
 -