@ApplicationScoped public class InMemoryBuildRegistry extends Object implements BuildRegistry
| Modifier and Type | Field and Description |
|---|---|
protected Map<String,Binary> |
binariesByName |
| Constructor and Description |
|---|
InMemoryBuildRegistry() |
| Modifier and Type | Method and Description |
|---|---|
List<Binary> |
getAllBinaries()
Returns all the registered binaries
|
void |
registerBinary(Binary binary)
Register a new binary
|
public void registerBinary(Binary binary)
BuildRegistryregisterBinary in interface BuildRegistrybinary - a binary to be registeredBinarypublic List<Binary> getAllBinaries()
BuildRegistrygetAllBinaries in interface BuildRegistryBinaryCopyright © 2001–2019 JBoss by Red Hat. All rights reserved.