Enum Deployer

    • Enum Constant Detail

      • 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
    • Method Detail

      • values

        public static Deployer[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (Deployer c : Deployer.values())
            System.out.println(c);
        
        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.
        Returns:
        the Optional builder matching the name, project.
      • getProjecDeployer

        public static Set<String> getProjecDeployer​(org.apache.maven.project.MavenProject project)
        Get teh deployer extensions found in the project.
        Parameters:
        the - project to search for extensions
        Returns:
        A set with the discovered extenions.