@HashCodeAndEqualsPlugin.Enhance public static class AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Conjunction extends Object implements AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher
AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Conjunction, AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Disjunction, AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.ForElementMatchers, AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher.Trivial| Constructor and Description |
|---|
Conjunction(AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher... matcher)
Creates a new conjunction for a resubmission matcher upon an error.
|
Conjunction(List<? extends AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher> matchers)
Creates a new conjunction for a resubmission matcher upon an error.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(Throwable throwable,
String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation. |
public Conjunction(AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher... matcher)
matcher - The represented matchers in their application order.public Conjunction(List<? extends AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcher> matchers)
matchers - The represented matchers in their application order.public boolean matches(Throwable throwable, String typeName, @MaybeNull ClassLoader classLoader, @MaybeNull JavaModule module)
true if a type should be resubmitted if it is not yet loaded and an exception occurs during instrumentation.matches in interface AgentBuilder.RedefinitionListenable.ResubmissionOnErrorMatcherthrowable - The exception being raised.typeName - The name of the instrumented type.classLoader - The class loader of the instrumented type or null if the type is loaded by the bootstrap class loader.module - The module of the instrumented type or null if the current VM does not support modules.true if the type should be resubmitted.Copyright © 2014–2025. All rights reserved.