@HashCodeAndEqualsPlugin.Enhance public static class AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Disjunction extends Object implements AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher
AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Conjunction, AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Disjunction, AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.ForElementMatchers, AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher.Trivial| Constructor and Description |
|---|
Disjunction(AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher... matcher)
Creates a new conjunction for an immediate resubmission matcher.
|
Disjunction(List<? extends AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher> matchers)
Creates a new disjunction for an immediate resubmission matcher.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
matches(String typeName,
ClassLoader classLoader,
JavaModule module)
Returns
true if a type should be resubmitted if it is not yet loaded. |
public Disjunction(AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher... matcher)
matcher - The matchers in their application order.public Disjunction(List<? extends AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatcher> matchers)
matchers - The matchers in their application order.public boolean matches(String typeName, @MaybeNull ClassLoader classLoader, @MaybeNull JavaModule module)
true if a type should be resubmitted if it is not yet loaded.matches in interface AgentBuilder.RedefinitionListenable.ResubmissionImmediateMatchertypeName - 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.