public static class HibernateSearchIntegrator.DuplicationStrategyImpl extends Object implements DuplicationStrategy
DuplicationStrategy.Action
Constructor and Description |
---|
DuplicationStrategyImpl(Class checkClass) |
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?
|
public DuplicationStrategyImpl(Class checkClass)
public boolean areMatch(Object listener, Object original)
DuplicationStrategy
areMatch
in interface DuplicationStrategy
listener
- The listener we are currently trying to registeroriginal
- An already registered listenerpublic DuplicationStrategy.Action getAction()
DuplicationStrategy
getAction
in interface DuplicationStrategy
Copyright © 2017 JBoss by Red Hat. All rights reserved.