Class ObjectMatcher
- Direct Known Subclasses:
Always
,Bridge
,Intersection
Matches an object with other objects.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List
<MatchedObject> findMatch
(ObjectCollection sourceObjects) Finds matches for objects.Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitialization
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
ObjectMatcher
public ObjectMatcher()
-
-
Method Details
-
findMatch
public abstract List<MatchedObject> findMatch(ObjectCollection sourceObjects) throws OperationFailedException Finds matches for objects.- Parameters:
sourceObjects
- a collection of objects, each of whom is considered a possible match.- Returns:
- a list of each object from
sourceObjects
with corresponding matches (element order remains unchanged). - Throws:
OperationFailedException
- if find process cannot successfully complete.
-