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

public static enum ModelBuilderRequest.RequestType extends Enum<ModelBuilderRequest.RequestType>
The possible request types for building a model.
  • Enum Constant Details

    • BUILD_PROJECT

      public static final ModelBuilderRequest.RequestType BUILD_PROJECT
      The request is for building an initial model from a POM file in a project on the filesystem.
    • BUILD_EFFECTIVE

      public static final ModelBuilderRequest.RequestType BUILD_EFFECTIVE
      The request is for rebuilding the effective POM in a project on the filesystem.
    • BUILD_CONSUMER

      public static final ModelBuilderRequest.RequestType 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

      public static final ModelBuilderRequest.RequestType CONSUMER_PARENT
      The request is for building a model from a parent POM file from a downloaded artifact.
    • CONSUMER_DEPENDENCY

      public static final ModelBuilderRequest.RequestType CONSUMER_DEPENDENCY
      The request is for building a model from a dependency POM file from a downloaded artifact.
  • Method Details

    • values

      public static ModelBuilderRequest.RequestType[] 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

      public static ModelBuilderRequest.RequestType valueOf(String name)
      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 name
      NullPointerException - if the argument is null