public final class MatcherBuilderTracker extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addBuilder(String className,
String name)
Adds a builder to the tracker.
|
Collection<Class<? extends AbstractBuilder>> |
getClasses()
Gets a collection of classes that are recognized as builders.
|
static AbstractBuilder |
getMatcherBuilder(String name)
Get the matching builder for the name.
|
static MatcherBuilderTracker |
instance()
Gets the instance of the MatcherBuilderTracker.
|
public static MatcherBuilderTracker instance()
public static void addBuilder(String className, String name)
name
is null then the builder class name simple is used with the "Builder" suffix removed.className
- the Class name for the builder.name
- the short name for the builder.public static AbstractBuilder getMatcherBuilder(String name)
name
- The name of the builder.public Collection<Class<? extends AbstractBuilder>> getClasses()
Copyright © 2006–2024 Apache Software Foundation. All rights reserved.