Class ProductSwitchResults.FailedProductSwitch
java.lang.Object
org.faktorips.runtime.productswitch.ProductSwitchResults.FailedProductSwitch
- All Implemented Interfaces:
ProductSwitchResults.ProductSwitchResult
- Enclosing class:
- ProductSwitchResults
public static class ProductSwitchResults.FailedProductSwitch
extends Object
implements ProductSwitchResults.ProductSwitchResult
Represents the result of a failed product switch operation.
-
Constructor Summary
ConstructorsConstructorDescriptionFailedProductSwitch(IConfigurableModelObject parent, PolicyAssociation association, String message) Constructs a newFailedProductSwitchinstance with the given parent object, policy association and error message. -
Method Summary
Modifier and TypeMethodDescriptionboolean
-
Constructor Details
-
FailedProductSwitch
public FailedProductSwitch(IConfigurableModelObject parent, PolicyAssociation association, String message) Constructs a newFailedProductSwitchinstance with the given parent object, policy association and error message.- Parameters:
parent- the parent objectassociation- the policy associationmessage- the error message
-
-
Method Details
-
getParent
- Returns:
- the parent object
-
getAssociation
- Returns:
- the policy association
-
getMessage
- Returns:
- the error message
-
isSuccessful
public boolean isSuccessful()- Specified by:
isSuccessfulin interfaceProductSwitchResults.ProductSwitchResult- Returns:
false
-