public static class ExecutorMethodSignatureMatcher.Builder
extends java.lang.Object
ExecutorMethodSignatureMatcher
.Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ExecutorMethodSignatureMatcher.Builder |
addMethodMatch(MethodSignature signature)
Add a match for the specified method.
|
ExecutorMethodSignatureMatcher.Builder |
addMethodMatch(java.lang.String className,
java.lang.String methodName,
StringMatcher descriptorMatcher)
Add a match to the mapping.
|
ExecutorMethodSignatureMatcher |
build()
Build the
ExecutorMethodMatcher defined by this builder. |
public ExecutorMethodSignatureMatcher.Builder addMethodMatch(java.lang.String className, java.lang.String methodName, StringMatcher descriptorMatcher)
OrMatcher
.className
- The name of the class.methodName
- The name of the method.descriptorMatcher
- The matcher for the descriptor.public ExecutorMethodSignatureMatcher.Builder addMethodMatch(MethodSignature signature)
signature
- The signature of the method to match.public ExecutorMethodSignatureMatcher build()
ExecutorMethodMatcher
defined by this builder.