Package io.quarkiverse.asyncapi.config
Class MapAsyncAPIRegistry
- java.lang.Object
-
- io.quarkiverse.asyncapi.config.MapAsyncAPIRegistry
-
- All Implemented Interfaces:
AsyncAPIRegistry
public class MapAsyncAPIRegistry extends Object implements AsyncAPIRegistry
-
-
Constructor Summary
Constructors Constructor Description MapAsyncAPIRegistry(Iterable<AsyncAPISupplier> suppliers)MapAsyncAPIRegistry(Map<String,com.asyncapi.v2._6_0.model.AsyncAPI> map)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<com.asyncapi.v2._6_0.model.AsyncAPI>getAsyncAPI(String id)Retrieve an AsyncAPI object given the id provided for that file
-
-
-
Constructor Detail
-
MapAsyncAPIRegistry
public MapAsyncAPIRegistry(Iterable<AsyncAPISupplier> suppliers)
-
-
Method Detail
-
getAsyncAPI
public Optional<com.asyncapi.v2._6_0.model.AsyncAPI> getAsyncAPI(String id)
Description copied from interface:AsyncAPIRegistryRetrieve an AsyncAPI object given the id provided for that file- Specified by:
getAsyncAPIin interfaceAsyncAPIRegistry- Returns:
-
-