Package org.apache.maven.api.services
Enum Class ModelBuilderRequest.RequestType
java.lang.Object
java.lang.Enum<ModelBuilderRequest.RequestType>
org.apache.maven.api.services.ModelBuilderRequest.RequestType
- All Implemented Interfaces:
Serializable
,Comparable<ModelBuilderRequest.RequestType>
,Constable
- Enclosing interface:
- ModelBuilderRequest
The possible request types for building a model.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe request is used specifically to parse the POM used as a basis for creating the consumer POM.The request is for rebuilding the effective POM in a project on the filesystem.The request is for building an initial model from a POM file in a project on the filesystem.The request is for building a model from a dependency POM file from a downloaded artifact.The request is for building a model from a parent POM file from a downloaded artifact. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ModelBuilderRequest.RequestType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BUILD_PROJECT
The request is for building an initial model from a POM file in a project on the filesystem. -
BUILD_EFFECTIVE
The request is for rebuilding the effective POM in a project on the filesystem. -
BUILD_CONSUMER
The request is used specifically to parse the POM used as a basis for creating the consumer POM. This POM will not ungergo any profile activation. -
CONSUMER_PARENT
The request is for building a model from a parent POM file from a downloaded artifact. -
CONSUMER_DEPENDENCY
The request is for building a model from a dependency POM file from a downloaded artifact.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-