Package io.quarkus.maven
Enum Deployer
- All Implemented Interfaces:
Serializable,Comparable<Deployer>
-
Enum Constant Summary
Enum Constants -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiongetDeployer(org.apache.maven.project.MavenProject project) Get the deployer by name or the first one found in the project.Optional<io.quarkus.maven.dependency.ArtifactDependency> getExtensionArtifact(org.apache.maven.project.MavenProject project) Get theArtifactDependencymatching the builder.getProjectDeployer(org.apache.maven.project.MavenProject project) Get the deployer extensions found in the project.getProjectDeployers(List<org.apache.maven.model.Dependency> dependencies) Get the deployer extensions found in the project.String[]static DeployerReturns the enum constant of this type with the specified name.static Deployer[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
kubernetes
-
minikube
-
kind
-
knative
-
openshift
-
-
Field Details
-
QUARKUS_GROUP_ID
- See Also:
-
QUARKUS_PREFIX
- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
getExtension
-
getRequiresOneOf
-
getExtensionArtifact
public Optional<io.quarkus.maven.dependency.ArtifactDependency> getExtensionArtifact(org.apache.maven.project.MavenProject project) Get theArtifactDependencymatching the builder.- Parameters:
project- the target project- Returns:
- the dependency wrapped in
Optional.
-
getDeployer
Get the deployer by name or the first one found in the project.- Parameters:
project- the project to search for deployer extensions- Returns:
- the
Optionalbuilder matching the name, project.
-
getProjectDeployer
Get the deployer extensions found in the project.- Parameters:
project- The project to search for extensions- Returns:
- A set with the discovered extensions.
-
getProjectDeployers
Get the deployer extensions found in the project.- Parameters:
dependencies- the dependencies for extensions- Returns:
- A set with the discovered extensions.
-