public static class ExecutorMethodMatcher.Builder
extends java.lang.Object
ExecutorMethodMatcher
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExecutorMethodMatcher.Builder |
addMethodMatch(java.lang.String className,
StringMatcher methodMatcher)
Add a match to the mapping.
|
ExecutorMethodMatcher |
build()
Build the
ExecutorMethodMatcher defined by this builder. |
public ExecutorMethodMatcher.Builder addMethodMatch(java.lang.String className, StringMatcher methodMatcher)
StringMatcher
is already mapped to a class name the
old and the given matcher are combined using an OrMatcher
.className
- The name of the class.methodMatcher
- The matcher for method names.public ExecutorMethodMatcher build()
ExecutorMethodMatcher
defined by this builder.