PipelineConfiguration.Builder
@Deprecated public static final class Revapi.Builder extends Object
PipelineConfiguration
and its builder. It is provided just for
convenience (and also to keep backwards compatibility ;) ).Constructor and Description |
---|
Builder()
Deprecated.
|
@Nonnull public Revapi.Builder withAnalyzersFromThreadContextClassLoader()
@Nonnull public Revapi.Builder withAnalyzersFrom(@Nonnull ClassLoader cl)
@SafeVarargs @Nonnull public final Revapi.Builder withAnalyzers(Class<? extends ApiAnalyzer>... analyzers)
@Nonnull public Revapi.Builder withAnalyzers(@Nonnull Iterable<Class<? extends ApiAnalyzer>> analyzers)
@Nonnull public Revapi.Builder withReportersFromThreadContextClassLoader()
@Nonnull public Revapi.Builder withReportersFrom(@Nonnull ClassLoader cl)
@SafeVarargs @Nonnull public final Revapi.Builder withReporters(Class<? extends Reporter>... reporters)
@Nonnull public Revapi.Builder withReporters(@Nonnull Iterable<Class<? extends Reporter>> reporters)
@Nonnull public Revapi.Builder withTransformsFromThreadContextClassLoader()
@Nonnull public Revapi.Builder withTransformsFrom(@Nonnull ClassLoader cl)
@SafeVarargs @Nonnull public final Revapi.Builder withTransforms(Class<? extends DifferenceTransform>... transforms)
@Nonnull public Revapi.Builder withTransforms(@Nonnull Iterable<Class<? extends DifferenceTransform>> transforms)
@Nonnull public Revapi.Builder withFiltersFromThreadContextClassLoader()
@Nonnull public Revapi.Builder withFiltersFrom(@Nonnull ClassLoader cl)
@SafeVarargs @Nonnull public final Revapi.Builder withFilters(Class<? extends TreeFilterProvider>... filters)
@Nonnull public Revapi.Builder withFilters(@Nonnull Iterable<Class<? extends TreeFilterProvider>> filters)
@Nonnull public Revapi.Builder withMatchersFromThreadContextClassLoader()
@Nonnull public Revapi.Builder withMatchersFrom(@Nonnull ClassLoader cl)
@SafeVarargs @Nonnull public final Revapi.Builder withMatchers(Class<? extends ElementMatcher>... matchers)
@Nonnull public Revapi.Builder withMatchers(@Nonnull Iterable<Class<? extends ElementMatcher>> matchers)
@Nonnull public Revapi.Builder withAllExtensionsFromThreadContextClassLoader()
@Nonnull public Revapi.Builder withAllExtensionsFrom(@Nonnull ClassLoader cl)
public Revapi.Builder withTransformationBlocks(Set<List<String>> blocks)
public Revapi.Builder addTransformationBlock(List<String> block)
@Nonnull public Revapi build() throws IllegalStateException
IllegalStateException
- if there are no api analyzers or no reporters added.Copyright © 2014-2021 Lukas Krejci. All Rights Reserved.