Class RemovePreInterpretationBehaviorStrategy
java.lang.Object
org.palladiosimulator.simulizar.failurescenario.interpreter.strategies.AbstractPreInterpretationBehaviorStrategy
org.palladiosimulator.simulizar.failurescenario.interpreter.strategies.impl.RemovePreInterpretationBehaviorStrategy
- All Implemented Interfaces:
FailureBehaviorChangingStrategy
public class RemovePreInterpretationBehaviorStrategy
extends AbstractPreInterpretationBehaviorStrategy
-
Field Summary
Fields inherited from class org.palladiosimulator.simulizar.failurescenario.interpreter.strategies.AbstractPreInterpretationBehaviorStrategy
behavior, pIBContainer
-
Constructor Summary
ConstructorDescriptionRemovePreInterpretationBehaviorStrategy
(org.palladiosimulator.simulizar.interpreter.preinterpretation.PreInterpretationBehavior behavior) Alternative Constructor if the container is not yet known.RemovePreInterpretationBehaviorStrategy
(org.palladiosimulator.simulizar.interpreter.preinterpretation.PreInterpretationBehaviorContainer pIBContainer, org.palladiosimulator.simulizar.interpreter.preinterpretation.PreInterpretationBehavior behavior) -
Method Summary
Methods inherited from class org.palladiosimulator.simulizar.failurescenario.interpreter.strategies.AbstractPreInterpretationBehaviorStrategy
allocateContext, isValid, setDecider
-
Constructor Details
-
RemovePreInterpretationBehaviorStrategy
public RemovePreInterpretationBehaviorStrategy(org.palladiosimulator.simulizar.interpreter.preinterpretation.PreInterpretationBehaviorContainer pIBContainer, org.palladiosimulator.simulizar.interpreter.preinterpretation.PreInterpretationBehavior behavior) -
RemovePreInterpretationBehaviorStrategy
public RemovePreInterpretationBehaviorStrategy(org.palladiosimulator.simulizar.interpreter.preinterpretation.PreInterpretationBehavior behavior) Alternative Constructor if the container is not yet known. It must be set in the strategy.allocate(context).- Parameters:
behavior
-
-
-
Method Details
-
execute
public void execute()Description copied from interface:FailureBehaviorChangingStrategy
Executes the strategy. Before, you should test if this call is possible by calling isValid().- Specified by:
execute
in interfaceFailureBehaviorChangingStrategy
- Specified by:
execute
in classAbstractPreInterpretationBehaviorStrategy
-
getRevertedStrategy
- Specified by:
getRevertedStrategy
in interfaceFailureBehaviorChangingStrategy
- Specified by:
getRevertedStrategy
in classAbstractPreInterpretationBehaviorStrategy
-