Class PageExtensionRegistryImpl
java.lang.Object
org.jboss.arquillian.graphene.page.extension.PageExtensionRegistryImpl
- All Implemented Interfaces:
PageExtensionRegistry
The implementation of
PageExtensionRegistry- Author:
- Lukas Fryc
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidflush()Flushes the registeredPageExtensionsgetExtension(String name) Returns an extension specified by the given name.Returns all registered extensions as a collection.voidregister(Collection<PageExtension> extensions) Registers given extensions to be injected to the pagevoidregister(PageExtension... extensions) Registers given extensions to be injected to the page
-
Constructor Details
-
PageExtensionRegistryImpl
public PageExtensionRegistryImpl()
-
-
Method Details
-
register
Description copied from interface:PageExtensionRegistryRegisters given extensions to be injected to the page- Specified by:
registerin interfacePageExtensionRegistry
-
register
Description copied from interface:PageExtensionRegistryRegisters given extensions to be injected to the page- Specified by:
registerin interfacePageExtensionRegistry
-
getExtension
Description copied from interface:PageExtensionRegistryReturns an extension specified by the given name.- Specified by:
getExtensionin interfacePageExtensionRegistry- Returns:
- requested extension or null if there is no extension with the given name
-
getExtensions
Description copied from interface:PageExtensionRegistryReturns all registered extensions as a collection.- Specified by:
getExtensionsin interfacePageExtensionRegistry
-
flush
public void flush()Description copied from interface:PageExtensionRegistryFlushes the registeredPageExtensions- Specified by:
flushin interfacePageExtensionRegistry
-