Package org.guvnor.ala.registry.inmemory
Class InMemoryBuildRegistry
- java.lang.Object
-
- org.guvnor.ala.registry.inmemory.InMemoryBuildRegistry
-
- All Implemented Interfaces:
BuildRegistry
@ApplicationScoped public class InMemoryBuildRegistry extends Object implements BuildRegistry
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,Binary>binariesByName
-
Constructor Summary
Constructors Constructor Description InMemoryBuildRegistry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Binary>getAllBinaries()Returns all the registered binariesvoidregisterBinary(Binary binary)Register a new binary
-
-
-
Method Detail
-
registerBinary
public void registerBinary(Binary binary)
Description copied from interface:BuildRegistryRegister a new binary- Specified by:
registerBinaryin interfaceBuildRegistry- Parameters:
binary- a binary to be registered- See Also:
Binary
-
getAllBinaries
public List<Binary> getAllBinaries()
Description copied from interface:BuildRegistryReturns all the registered binaries- Specified by:
getAllBinariesin interfaceBuildRegistry- Returns:
- a List
with all the registered binaries - See Also:
Binary
-
-