Package io.quarkus.cli.plugin
Class PluginCatalog
java.lang.Object
io.quarkus.cli.plugin.PluginCatalog
- All Implemented Interfaces:
Catalog<PluginCatalog>
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPluginCatalog(String version, String lastUpdate, Map<String, Plugin> plugins, Optional<Path> catalogLocation) PluginCatalog(String version, LocalDateTime lastUpdate, Map<String, Plugin> plugins, Optional<Path> catalogLocation) PluginCatalog(Map<String, Plugin> plugins) -
Method Summary
Modifier and TypeMethodDescriptionstatic PluginCatalogcombine(Optional<PluginCatalog> userCatalog, Optional<PluginCatalog> projectCatalog) static PluginCatalogempty()removePlugin(Plugin plugin) removePlugin(String pluginName) withCatalogLocation(Optional<Path> catalogLocation) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.quarkus.cli.plugin.Catalog
withCatalogLocation, withCatalogLocation
-
Field Details
-
VERSION
- See Also:
-
DATETIME_FORMATTER
-
-
Constructor Details
-
PluginCatalog
public PluginCatalog() -
PluginCatalog
-
PluginCatalog
-
PluginCatalog
-
-
Method Details
-
empty
-
combine
public static PluginCatalog combine(Optional<PluginCatalog> userCatalog, Optional<PluginCatalog> projectCatalog) -
getVersion
-
getLastUpdate
-
getLastUpdateDate
-
getPlugins
-
getCatalogLocation
- Specified by:
getCatalogLocationin interfaceCatalog<PluginCatalog>
-
withCatalogLocation
- Specified by:
withCatalogLocationin interfaceCatalog<PluginCatalog>
-
refreshLastUpdate
- Specified by:
refreshLastUpdatein interfaceCatalog<PluginCatalog>
-
addPlugin
-
removePlugin
-
removePlugin
-