public interface DuplicationStrategy
areMatch(java.lang.Object, java.lang.Object)
) as well as how to handle a duplication (see getAction()
).Modifier and Type | Interface and Description |
---|---|
static class |
DuplicationStrategy.Action
The enumerated list of actions available on duplication match
|
Modifier and Type | Method and Description |
---|---|
boolean |
areMatch(Object listener,
Object original)
Are the two listener instances considered a duplication?
|
DuplicationStrategy.Action |
getAction()
How should a duplication be handled?
|
boolean areMatch(Object listener, Object original)
listener
- The listener we are currently trying to registeroriginal
- An already registered listenerDuplicationStrategy.Action getAction()
Copyright © 2016 JBoss by Red Hat. All rights reserved.