Package io.quarkus.cli.plugin
Class JBangCatalog
- java.lang.Object
-
- io.quarkus.cli.plugin.JBangCatalog
-
- All Implemented Interfaces:
Catalog<JBangCatalog>
public class JBangCatalog extends Object implements Catalog<JBangCatalog>
-
-
Constructor Summary
Constructors Constructor Description JBangCatalog()JBangCatalog(Map<String,JBangCatalog> catalogs, Map<String,JBangAlias> aliases, Optional<String> catalogRef, Optional<Path> catalogLocation)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JBangCatalogempty()Map<String,JBangAlias>getAliases()Optional<Path>getCatalogLocation()Optional<String>getCatalogRef()Map<String,JBangCatalog>getCatalogs()JBangCatalogrefreshLastUpdate()JBangCatalogwithCatalogLocation(Optional<Path> catalogLocation)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.quarkus.cli.plugin.Catalog
withCatalogLocation, withCatalogLocation
-
-
-
-
Constructor Detail
-
JBangCatalog
public JBangCatalog()
-
JBangCatalog
public JBangCatalog(Map<String,JBangCatalog> catalogs, Map<String,JBangAlias> aliases, Optional<String> catalogRef, Optional<Path> catalogLocation)
-
-
Method Detail
-
empty
public static JBangCatalog empty()
-
getCatalogs
public Map<String,JBangCatalog> getCatalogs()
-
getAliases
public Map<String,JBangAlias> getAliases()
-
getCatalogLocation
public Optional<Path> getCatalogLocation()
- Specified by:
getCatalogLocationin interfaceCatalog<JBangCatalog>
-
refreshLastUpdate
public JBangCatalog refreshLastUpdate()
- Specified by:
refreshLastUpdatein interfaceCatalog<JBangCatalog>
-
withCatalogLocation
public JBangCatalog withCatalogLocation(Optional<Path> catalogLocation)
- Specified by:
withCatalogLocationin interfaceCatalog<JBangCatalog>
-
-