Package org.apache.camel.quarkus.maven
Class CamelQuarkusExtension
- java.lang.Object
-
- org.apache.camel.quarkus.maven.CamelQuarkusExtension
-
public class CamelQuarkusExtension extends Object
A utility to extract some extension metadata from the Runtime module's POM.
-
-
Field Summary
Fields Modifier and Type Field Description static StringCAMEL_QUARKUS_JVM_SINCEstatic StringCAMEL_QUARKUS_NATIVE_SINCE
-
Constructor Summary
Constructors Constructor Description CamelQuarkusExtension(Path runtimePomXmlPath, String camelComponentArtifactId, String jvmSince, String nativeSince, String runtimeArtifactId, String name, String description, String label, String version, boolean nativeSupported, List<org.apache.maven.model.Dependency> dependencies)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCamelComponentArtifactId()List<org.apache.maven.model.Dependency>getDependencies()Optional<String>getDescription()Optional<String>getJvmSince()Optional<String>getLabel()Optional<String>getName()Optional<String>getNativeSince()StringgetRuntimeArtifactId()StringgetRuntimeArtifactIdBase()PathgetRuntimePomXmlPath()StringgetVersion()booleanisNativeSupported()static CamelQuarkusExtensionread(Path runtimePomXmlPath)
-
-
-
Field Detail
-
CAMEL_QUARKUS_JVM_SINCE
public static final String CAMEL_QUARKUS_JVM_SINCE
- See Also:
- Constant Field Values
-
CAMEL_QUARKUS_NATIVE_SINCE
public static final String CAMEL_QUARKUS_NATIVE_SINCE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CamelQuarkusExtension
public CamelQuarkusExtension(Path runtimePomXmlPath, String camelComponentArtifactId, String jvmSince, String nativeSince, String runtimeArtifactId, String name, String description, String label, String version, boolean nativeSupported, List<org.apache.maven.model.Dependency> dependencies)
-
-
Method Detail
-
read
public static CamelQuarkusExtension read(Path runtimePomXmlPath)
-
getVersion
public String getVersion()
-
getRuntimePomXmlPath
public Path getRuntimePomXmlPath()
-
getRuntimeArtifactIdBase
public String getRuntimeArtifactIdBase()
-
getRuntimeArtifactId
public String getRuntimeArtifactId()
-
getCamelComponentArtifactId
public String getCamelComponentArtifactId()
-
isNativeSupported
public boolean isNativeSupported()
-
getDependencies
public List<org.apache.maven.model.Dependency> getDependencies()
-
-