Package com.polarion.alm.builder.spi
Interface IBuildExtenderRepository
public interface IBuildExtenderRepository
Repository of
IBuildExtender
s.- Version:
- $Revision$ $Date$
- Author:
- Stepan Roh, Polarion Software
- See Also:
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic final class
Build extension hook "enumeration". -
Method Summary
Modifier and TypeMethodDescriptiongetExtenders
(Set hooks) Extenders which are hooked on all given hooks.void
registerExtender
(IBuildExtender extender, Set hooks) Register extender.void
unregisterExtender
(IBuildExtender extender) Unregister extender.
-
Method Details
-
getExtenders
Extenders which are hooked on all given hooks.- Parameters:
hooks
-Set
ofIBuildExtenderRepository.Hook
s- Returns:
List
ofIBuildExtender
s- Throws:
IllegalArgumentException
- ifhooks
isnull
-
registerExtender
Register extender.If extender is already registered then the given set of hooks replaces the previous one.
- Parameters:
extender
- extenderhooks
-Set
ofIBuildExtenderRepository.Hook
s- Throws:
IllegalArgumentException
- ifextender
isnull
IllegalArgumentException
- ifhooks
isnull
-
unregisterExtender
Unregister extender.Does nothing is extender is not registered.
- Parameters:
extender
- extender- Throws:
IllegalArgumentException
- ifextender
isnull
-