org.apache.jmeter.report.gui.action
Class ReportActionRouter
- ActionListener
public final class ReportActionRouter
implements ActionListener
void | actionPerformed(ActionEvent e)
|
void | addPostActionListener(Class action, ActionListener listener) - Allows an ActionListener to receive notification of a command being
executed after the command has executed.
|
void | addPreActionListener(Class action, ActionListener listener) - Allows an ActionListener to receive notification of a command being
executed prior to the actual execution of the command.
|
void | doActionNow(ActionEvent e) - To execute an action immediately in the current thread.
|
Set | getAction(String actionName)
|
Command | getAction(String actionName, Class actionClass)
|
Command | getAction(String actionName, String className)
|
static ReportActionRouter | getInstance() - Gets the Instance attribute of the ActionRouter class
|
protected void | postActionPerformed(Class action, ActionEvent e)
|
protected void | preActionPerformed(Class action, ActionEvent e)
|
void | removePostActionListener(Class action, ActionListener listener) - Allows an ActionListener to be removed from receiving notifications of a
command being executed after the command has executed.
|
void | removePreActionListener(Class action, ActionListener listener) - Allows an ActionListener to be removed from receiving notifications of a
command being executed prior to the actual execution of the command.
|
actionPerformed
public void actionPerformed(ActionEvent e)
addPostActionListener
public void addPostActionListener(Class action,
ActionListener listener)
Allows an ActionListener to receive notification of a command being
executed after the command has executed.
action
- the Class of the command for which the listener will
notifications for. Class must extend
org.apache.jmeter.report.gui.action.Command.listener
-
addPreActionListener
public void addPreActionListener(Class action,
ActionListener listener)
Allows an ActionListener to receive notification of a command being
executed prior to the actual execution of the command.
action
- the Class of the command for which the listener will
notifications for. Class must extend
org.apache.jmeter.report.gui.action.Command.listener
- the ActionListener to receive the notifications
doActionNow
public void doActionNow(ActionEvent e)
To execute an action immediately in the current thread.
e
- the action to execute
getAction
public Set getAction(String actionName)
getAction
public Command getAction(String actionName,
Class actionClass)
getAction
public Command getAction(String actionName,
String className)
getInstance
public static ReportActionRouter getInstance()
Gets the Instance attribute of the ActionRouter class
postActionPerformed
protected void postActionPerformed(Class action,
ActionEvent e)
preActionPerformed
protected void preActionPerformed(Class action,
ActionEvent e)
removePostActionListener
public void removePostActionListener(Class action,
ActionListener listener)
Allows an ActionListener to be removed from receiving notifications of a
command being executed after the command has executed.
action
- the Class of the command for which the listener will
notifications for. Class must extend
org.apache.jmeter.report.gui.action.Command.listener
-
removePreActionListener
public void removePreActionListener(Class action,
ActionListener listener)
Allows an ActionListener to be removed from receiving notifications of a
command being executed prior to the actual execution of the command.
action
- the Class of the command for which the listener will
notifications for. Class must extend
org.apache.jmeter.report.gui.action.Command.listener
- the ActionListener to receive the notifications
Copyright © 1998-2010 Apache Software Foundation. All Rights Reserved.