Enum Deployer

java.lang.Object
java.lang.Enum<Deployer>
io.quarkus.maven.Deployer
All Implemented Interfaces:
Serializable, Comparable<Deployer>

public enum Deployer extends Enum<Deployer>
  • Enum Constant Details

    • kubernetes

      public static final Deployer kubernetes
    • minikube

      public static final Deployer minikube
    • kind

      public static final Deployer kind
    • knative

      public static final Deployer knative
    • openshift

      public static final Deployer openshift
  • Field Details

  • Method Details

    • values

      public static Deployer[] 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

      public static Deployer valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getExtension

      public String getExtension()
    • getRequiresOneOf

      public String[] getRequiresOneOf()
    • getExtensionArtifact

      public Optional<io.quarkus.maven.dependency.ArtifactDependency> getExtensionArtifact(org.apache.maven.project.MavenProject project)
      Get the ArtifactDependency matching the builder.
      Parameters:
      project - the target project
      Returns:
      the dependency wrapped in Optional.
    • getDeployer

      public static Optional<Deployer> getDeployer(org.apache.maven.project.MavenProject project)
      Get the deployer by name or the first one found in the project.
      Parameters:
      project - the project to search for deployer extensions
      Returns:
      the Optional builder matching the name, project.
    • getProjectDeployer

      public static Set<String> getProjectDeployer(org.apache.maven.project.MavenProject project)
      Get the deployer extensions found in the project.
      Parameters:
      project - The project to search for extensions
      Returns:
      A set with the discovered extensions.
    • getProjectDeployers

      public static Set<String> getProjectDeployers(List<org.apache.maven.model.Dependency> dependencies)
      Get the deployer extensions found in the project.
      Parameters:
      dependencies - the dependencies for extensions
      Returns:
      A set with the discovered extensions.