Package io.quarkus.registry.catalog
Class ExtensionImpl.Builder
java.lang.Object
io.quarkus.registry.catalog.ExtensionImpl.Builder
- All Implemented Interfaces:
Extension,Extension.Mutable,JsonBuilder<Extension>
- Enclosing class:
ExtensionImpl
Builder.
-
Nested Class Summary
Nested classes/interfaces inherited from interface io.quarkus.registry.catalog.Extension
Extension.MutableNested classes/interfaces inherited from interface io.quarkus.registry.json.JsonBuilder
JsonBuilder.JsonBuilderSerializer<T> -
Field Summary
Fields inherited from interface io.quarkus.registry.catalog.Extension
MD_BUILT_WITH_QUARKUS_CORE, MD_CATEGORIES, MD_CLI_PLUGINS, MD_GUIDE, MD_KEYWORDS, MD_MINIMUM_JAVA_VERSION, MD_NESTED_CODESTART_ARTIFACT, MD_NESTED_CODESTART_KIND, MD_NESTED_CODESTART_LANGUAGES, MD_NESTED_CODESTART_NAME, MD_SHORT_NAME, MD_STATUS, MD_UNLISTED -
Method Summary
Modifier and TypeMethodDescriptionbuild()booleanio.quarkus.maven.dependency.ArtifactCoordsgetName()inthashCode()voidPersist this configuration to the specified file.removeMetadata(String key) setArtifact(io.quarkus.maven.dependency.ArtifactCoords coords) setArtifactId(String artifactId) setDescription(String description) setGroupId(String groupId) setMetadata(String key, Object value) setMetadata(Map<String, Object> newValues) setOrigins(List<ExtensionOrigin> origins) Deserialize using ExtensionOriginImpl.Builder, which defines JsonIdentityInfosetVersion(String version) Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.registry.catalog.Extension
hasPlatformOrigin, managementKey, mutable
-
Method Details
-
setGroupId
- Specified by:
setGroupIdin interfaceExtension.Mutable
-
setArtifactId
- Specified by:
setArtifactIdin interfaceExtension.Mutable
-
setVersion
- Specified by:
setVersionin interfaceExtension.Mutable
-
getName
-
setName
- Specified by:
setNamein interfaceExtension.Mutable
-
getDescription
- Specified by:
getDescriptionin interfaceExtension
-
setDescription
- Specified by:
setDescriptionin interfaceExtension.Mutable
-
getArtifact
public io.quarkus.maven.dependency.ArtifactCoords getArtifact()- Specified by:
getArtifactin interfaceExtension
-
setArtifact
- Specified by:
setArtifactin interfaceExtension.Mutable
-
getOrigins
- Specified by:
getOriginsin interfaceExtension
-
setOrigins
Deserialize using ExtensionOriginImpl.Builder, which defines JsonIdentityInfo- Specified by:
setOriginsin interfaceExtension.Mutable
-
getMetadata
- Specified by:
getMetadatain interfaceExtension
-
setMetadata
- Specified by:
setMetadatain interfaceExtension.Mutable
-
setMetadata
- Specified by:
setMetadatain interfaceExtension.Mutable
-
removeMetadata
- Specified by:
removeMetadatain interfaceExtension.Mutable
-
persist
Description copied from interface:ExtensionPersist this configuration to the specified file.- Specified by:
persistin interfaceExtension- Parameters:
p- Target path- Throws:
IOException- if the specified file can not be written to.
-
build
- Specified by:
buildin interfaceExtension.Mutable- Specified by:
buildin interfaceJsonBuilder<Extension>
-
buildOrigin
-
equals
-
hashCode
public int hashCode()
-