Class AddPreInterpretationBehaviorStrategy
java.lang.Object
org.palladiosimulator.simulizar.failurescenario.interpreter.strategies.AbstractPreInterpretationBehaviorStrategy
org.palladiosimulator.simulizar.failurescenario.interpreter.strategies.impl.AddPreInterpretationBehaviorStrategy
- All Implemented Interfaces:
FailureBehaviorChangingStrategy
-
Field Summary
Fields inherited from class org.palladiosimulator.simulizar.failurescenario.interpreter.strategies.AbstractPreInterpretationBehaviorStrategy
behavior, pIBContainer
-
Constructor Summary
ConstructorDescriptionAddPreInterpretationBehaviorStrategy
(org.palladiosimulator.simulizar.interpreter.preinterpretation.PreInterpretationBehavior behavior) Alternative Constructor if the container is not yet known.AddPreInterpretationBehaviorStrategy
(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
-
AddPreInterpretationBehaviorStrategy
public AddPreInterpretationBehaviorStrategy(org.palladiosimulator.simulizar.interpreter.preinterpretation.PreInterpretationBehaviorContainer pIBContainer, org.palladiosimulator.simulizar.interpreter.preinterpretation.PreInterpretationBehavior behavior) -
AddPreInterpretationBehaviorStrategy
public AddPreInterpretationBehaviorStrategy(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
-