@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)
BuildRegistry
registerBinary
in interface BuildRegistry
binary
- a binary to be registeredBinary
public List<Binary> getAllBinaries()
BuildRegistry
getAllBinaries
in interface BuildRegistry
Binary
Copyright © 2001–2019 JBoss by Red Hat. All rights reserved.