Uses of Class
org.faktorips.runtime.productswitch.ProductFinderResult
Packages that use ProductFinderResult
-
Uses of ProductFinderResult in org.faktorips.runtime.productswitch
Methods in org.faktorips.runtime.productswitch that return ProductFinderResultModifier and TypeMethodDescriptionstatic ProductFinderResultProductSwitch.createEmptyResult(IConfigurableModelObject modelObject) Creates aProductFinderResultobject with an error message indicating that the switch failed because the specified object has no suitable replacements.static ProductFinderResultProductSwitch.createErrorResult(IConfigurableModelObject modelObject, List<IProductComponent> matchingProductComponents) Creates aProductFinderResultobject with an error message indicating that the switch failed because the specified object has multiple replacements.static ProductFinderResultA newProductFinderResultthat no replacement was found.static ProductFinderResultA newProductFinderResultindicating an error while switching, for example when more than one product component was found.AdvancedProductFinder.findMatchingProduct(IConfigurableModelObject parent, IProductComponent oldParentProdCmpt, IConfigurableModelObject child, PolicyAssociation parentToChild) This method returns aProductFinderResultobject which contains the correct replacement of anIProductComponentfor the givenIConfigurableModelObject.MatchingProductFinder.findMatchingProduct(IConfigurableModelObject modelObject, List<IProductComponent> oldProducts, List<IProductComponent> newProducts) This method returns aProductFinderResultobject which contains the correct replacement of anIProductComponentfor the givenIConfigurableModelObject.static ProductFinderResultProductFinderResult.of(IProductComponent productComponent) Constructs a newProductFinderResultwith the specified product component.