|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.test.selenium.interception.CommandContext
public class CommandContext
This context holds the iterator over collection of interceptors, which will be triggered before the command will be passed to commandProcessor to execute.
| Method Summary | |
|---|---|
String[] |
getArguments()
Returns the arguments of the command. |
String |
getCommand()
Returns the command. |
Object |
invoke()
For each remaining interceptor in list call it's intercept method. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public Object invoke()
throws CommandInterceptionException
For each remaining interceptor in list call it's intercept method.
Watch if the following interceptor call's in it's CommandInterceptor.intercept(CommandContext) method
body method invoke() at least once. If not, this interceptor will raise
CommandInterceptionException.
CommandInterceptionException - if the subsequent interceptor doesn't call invoke() in it's
CommandInterceptor.intercept(CommandContext) method body.public String getCommand()
public String[] getArguments()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||