Top Fields Constructors Methods
org.testng.internal.protocols

public abstract Class Processor

extends Object
Class Inheritance
Known Direct Subclasses
org.testng.internal.protocols.BundledResourceProcessor, org.testng.internal.protocols.FileProcessor, org.testng.internal.protocols.JarProcessor, org.testng.internal.protocols.NoOpProcessor
Imports
java.io.File, java.net.URL, java.util.List, java.util.regex.Pattern, org.testng.collections.Lists, org.testng.internal.Utils

Field Summary

Modifier and TypeField and Description
protected static final String

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
private static boolean
find(String name, List<String> list)

protected static List<String>
findClassesInDirPackage(String packageName, List<String> included, List<String> excluded, String packagePath, final boolean recursive)

protected static List<String>
includeOrExcludeClass(String packageName, String className, List<String> included, List<String> excluded)

private static boolean

Returns:

true if name should be included.
isIncluded
(String name, List<String> included, List<String> excluded)

private static String
public static Processor
newInstance(String protocol)

public abstract List<String>
process(Input input, URL url)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

CLS_NAMEback to summary
protected static final String CLS_NAME

Constructor Detail

Processorback to summary
public Processor()

Method Detail

findback to summary
private static boolean find(String name, List<String> list)
findClassesInDirPackageback to summary
protected static List<String> findClassesInDirPackage(String packageName, List<String> included, List<String> excluded, String packagePath, final boolean recursive)
includeOrExcludeClassback to summary
protected static List<String> includeOrExcludeClass(String packageName, String className, List<String> included, List<String> excluded)
isIncludedback to summary
private static boolean isIncluded(String name, List<String> included, List<String> excluded)
Returns:boolean

true if name should be included.

makeFullClassNameback to summary
private static String makeFullClassName(String pkg, String cls)
newInstanceback to summary
public static Processor newInstance(String protocol)
processback to summary
public abstract List<String> process(Input input, URL url)