Package io.quarkus.registry.catalog
Interface Extension
- All Known Subinterfaces:
Extension.Mutable
- All Known Implementing Classes:
ExtensionImpl,ExtensionImpl.Builder
public interface Extension
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic Extension.Mutablebuilder()static ExtensionRead config from the specified fileio.quarkus.maven.dependency.ArtifactCoordsgetName()default booleandefault Stringdefault Extension.Mutablemutable()static Extension.MutablemutableFromFile(Path path) Read config from the specified filedefault voidPersist this configuration to the specified file.
-
Field Details
-
MD_SHORT_NAME
- See Also:
-
MD_NESTED_CODESTART_NAME
- See Also:
-
MD_NESTED_CODESTART_LANGUAGES
- See Also:
-
MD_NESTED_CODESTART_KIND
- See Also:
-
MD_NESTED_CODESTART_ARTIFACT
- See Also:
-
MD_GUIDE
- See Also:
-
MD_MINIMUM_JAVA_VERSION
- See Also:
-
MD_KEYWORDS
- See Also:
-
MD_UNLISTED
- See Also:
-
MD_CATEGORIES
- See Also:
-
MD_STATUS
- See Also:
-
MD_BUILT_WITH_QUARKUS_CORE
- See Also:
-
MD_CLI_PLUGINS
- See Also:
-
-
Method Details
-
getName
String getName() -
getDescription
String getDescription() -
getArtifact
io.quarkus.maven.dependency.ArtifactCoords getArtifact() -
getOrigins
List<ExtensionOrigin> getOrigins() -
hasPlatformOrigin
default boolean hasPlatformOrigin() -
getMetadata
-
managementKey
-
mutable
-
persist
Persist this configuration to the specified file.- Parameters:
p- Target path- Throws:
IOException- if the specified file can not be written to.
-
builder
- Returns:
- a new mutable instance
-
fromFile
Read config from the specified file- Parameters:
path- File to read from (yaml or json)- Returns:
- read-only Extension object
- Throws:
IOException
-
mutableFromFile
Read config from the specified file- Parameters:
path- File to read from (yaml or json)- Returns:
- read-only Extension object (empty/default for an empty file)
- Throws:
IOException
-