Graphene Selenium: API 2.0.0.Alpha1

org.jboss.arquillian.ajocado.command
Interface CommandInterceptorProxy


public interface CommandInterceptorProxy

Allows to register command interceptors which wraps the invocation of commands giving Selenium commands new aspects.

Version:
$Revision$
Author:
Lukas Fryc

Method Summary
 void registerInterceptor(CommandInterceptor interceptor)
          Registers new interceptor
 CommandInterceptor unregisterInterceptor(CommandInterceptor interceptor)
          Unregisters the inceptor by reference
 Set<CommandInterceptor> unregisterInterceptorType(Class<? extends CommandInterceptor> type)
          Unregisters all of the interceptors of given type
 

Method Detail

registerInterceptor

void registerInterceptor(CommandInterceptor interceptor)
Registers new interceptor

Parameters:
interceptor - to register

unregisterInterceptor

CommandInterceptor unregisterInterceptor(CommandInterceptor interceptor)
Unregisters the inceptor by reference

Parameters:
interceptor - the interceptor by reference
Returns:
the command interceptor which was unregistered, null if no such interceptor was registered on this proxy

unregisterInterceptorType

Set<CommandInterceptor> unregisterInterceptorType(Class<? extends CommandInterceptor> type)
Unregisters all of the interceptors of given type

Parameters:
type - the type of interceptors to unregister
Returns:
the references to all command interceptors which was unregistered

Graphene Selenium: API 2.0.0.Alpha1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.