Class Always
Specifies a single object that will always be the "match" for whatever source object.
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindMatch(ObjectCollection sourceObjects) Finds matches for objects.voidsetObjects(ObjectCollectionProvider objects) Methods inherited from class org.anchoranalysis.bean.initializable.InitializableBean
getInitialization, getLogger, getPropertyInitializer, initialize, initializeRecursive, initRecursiveWithInitializer, isInitialized, onInitializationMethods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
Always
public Always()
-
-
Method Details
-
findMatch
public List<MatchedObject> findMatch(ObjectCollection sourceObjects) throws OperationFailedException Description copied from class:ObjectMatcherFinds matches for objects.- Specified by:
findMatchin classObjectMatcher- Parameters:
sourceObjects- a collection of objects, each of whom is considered a possible match.- Returns:
- a list of each object from
sourceObjectswith corresponding matches (element order remains unchanged). - Throws:
OperationFailedException- if find process cannot successfully complete.
-
getObjects
-
setObjects
-