jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject svn commit: r1338459 - /jmeter/trunk/src/core/org/apache/jmeter/gui/action/ActionRouter.java
Date Mon, 14 May 2012 22:22:08 GMT
Author: sebb
Date: Mon May 14 22:22:08 2012
New Revision: 1338459

URL: http://svn.apache.org/viewvc?rev=1338459&view=rev
Log:
Document parameter usage

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/ActionRouter.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/ActionRouter.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/action/ActionRouter.java?rev=1338459&r1=1338458&r2=1338459&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/action/ActionRouter.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/action/ActionRouter.java Mon May 14 22:22:08
2012
@@ -254,9 +254,14 @@ public final class ActionRouter implemen
     private void populateCommandMap() {
         try {
             List<String> listClasses = ClassFinder.findClassesThatExtend(
-                    JMeterUtils.getSearchPaths(), 
-                    new Class[] {Class.forName("org.apache.jmeter.gui.action.Command") },
// $NON-NLS-1$
-                    false, "org.apache.jmeter.gui", null, false); // $NON-NLS-1$
+                    JMeterUtils.getSearchPaths(), // strPathsOrJars - pathnames or jarfiles
to search for classes
+                    // classNames - required parent class(es) or annotations
+                    new Class[] {Class.forName("org.apache.jmeter.gui.action.Command") },
// $NON-NLS-1$ 
+                    false, // innerClasses - should we include inner classes?
+                    // contains - classname should contain this string
+                    "org.apache.jmeter.gui",  // $NON-NLS-1$ 
+                    null, // notContains - classname should not contain this string
+                    false); // annotations - true if classnames are annotations
             commands = new HashMap<String, Set<Command>>(listClasses.size());
             if (listClasses.isEmpty()) {
                 log.fatalError("!!!!!Uh-oh, didn't find any action handlers!!!!!");



Mime
View raw message