public final class DescriptorChangeEvent<T> extends EventObject
AsyncDescriptor
.
The information that the AsyncDescriptor
was resolved into a new one(s).source
Constructor and Description |
---|
DescriptorChangeEvent(T source,
Collection<? extends T> replacement)
Creates a new event.
|
Modifier and Type | Method and Description |
---|---|
Collection<? extends T> |
getReplacement()
Returns the replacement.
|
getSource, toString
public DescriptorChangeEvent(@NonNull T source, @NonNull Collection<? extends T> replacement)
source
- the originating descriptorreplacement
- the descriptor replacement(s). In case of an empty Collection
the originating descriptor is removed.@NonNull public Collection<? extends T> getReplacement()