Class FailureBehaviorChangesProviderSwitch
java.lang.Object
org.eclipse.emf.ecore.util.Switch<T>
org.palladiosimulator.failuremodel.failuretype.util.FailuretypeSwitch<List<FailureBehaviorChange>>
org.palladiosimulator.simulizar.failurescenario.interpreter.provider.FailureBehaviorChangesProviderSwitch
public class FailureBehaviorChangesProviderSwitch
extends FailuretypeSwitch<List<FailureBehaviorChange>>
A Provider for FailureBehaviorChange DataTransferObjects, which contain a
strategy for behavior changes.
-
Field Summary
Fields inherited from class org.palladiosimulator.failuremodel.failuretype.util.FailuretypeSwitch
modelPackage
-
Constructor Summary
ConstructorDescriptionFailureBehaviorChangesProviderSwitch
(de.uka.ipd.sdq.probfunction.math.IRandomGenerator randomNumberGenerator) -
Method Summary
Modifier and TypeMethodDescription<Failuretype extends Failure>
List<FailureBehaviorChange>caseByzantine
(Byzantine<Failuretype> object) Returns the result of interpreting the object as an instance of 'Byzantine'.caseContent
(Content object) Returns the result of interpreting the object as an instance of 'Content'.Returns the result of interpreting the object as an instance of 'Crash'.caseSWTimingFailure
(SWTimingFailure object) Returns the result of interpreting the object as an instance of 'SW Timing Failure'.caseTiming
(Timing object) Returns the result of interpreting the object as an instance of 'Timing'.<Failuretype extends Failure>
List<FailureBehaviorChange>caseTransient
(Transient<Failuretype> object) Returns the result of interpreting the object as an instance of 'Transient'.Returns the failure behavior changes (Represented as DataTransferObjects with a changingStrategy and a relativePointInTime)Methods inherited from class org.palladiosimulator.failuremodel.failuretype.util.FailuretypeSwitch
caseDomain, caseEntity, caseFailure, caseFailureTypeRepository, caseHWByzantineFailure, caseHWContentFailure, caseHWCrashFailure, caseHWFailure, caseHWTimingFailure, caseHWTransientFailure, caseIdentifier, caseLinkByzantineFailure, caseLinkContentFailure, caseLinkCrashFailure, caseLinkFailure, caseLinkTimingFailure, caseLinkTransientFailure, caseMode, caseNamedElement, casePCMBaseClass, casePCMClass, caseSWByzantineFailure, caseSWContentFailure, caseSWCrashFailure, caseSWFailure, caseSWTransientFailure, defaultCase, doSwitch, isSwitchFor
-
Constructor Details
-
FailureBehaviorChangesProviderSwitch
public FailureBehaviorChangesProviderSwitch(de.uka.ipd.sdq.probfunction.math.IRandomGenerator randomNumberGenerator)
-
-
Method Details
-
caseCrash
Description copied from class:FailuretypeSwitch
Returns the result of interpreting the object as an instance of 'Crash'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseCrash
in classFailuretypeSwitch<List<FailureBehaviorChange>>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Crash'.
- See Also:
-
caseTiming
Description copied from class:FailuretypeSwitch
Returns the result of interpreting the object as an instance of 'Timing'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseTiming
in classFailuretypeSwitch<List<FailureBehaviorChange>>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Timing'.
- See Also:
-
caseSWTimingFailure
Description copied from class:FailuretypeSwitch
Returns the result of interpreting the object as an instance of 'SW Timing Failure'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseSWTimingFailure
in classFailuretypeSwitch<List<FailureBehaviorChange>>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'SW Timing Failure'.
- See Also:
-
caseContent
Description copied from class:FailuretypeSwitch
Returns the result of interpreting the object as an instance of 'Content'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseContent
in classFailuretypeSwitch<List<FailureBehaviorChange>>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Content'.
- See Also:
-
caseTransient
public <Failuretype extends Failure> List<FailureBehaviorChange> caseTransient(Transient<Failuretype> object) Description copied from class:FailuretypeSwitch
Returns the result of interpreting the object as an instance of 'Transient'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseTransient
in classFailuretypeSwitch<List<FailureBehaviorChange>>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Transient'.
- See Also:
-
caseByzantine
public <Failuretype extends Failure> List<FailureBehaviorChange> caseByzantine(Byzantine<Failuretype> object) Description copied from class:FailuretypeSwitch
Returns the result of interpreting the object as an instance of 'Byzantine'. This implementation returns null; returning a non-null result will terminate the switch.- Overrides:
caseByzantine
in classFailuretypeSwitch<List<FailureBehaviorChange>>
- Parameters:
object
- the target of the switch.- Returns:
- the result of interpreting the object as an instance of 'Byzantine'.
- See Also:
-
doSwitch
Returns the failure behavior changes (Represented as DataTransferObjects with a changingStrategy and a relativePointInTime)- Overrides:
doSwitch
in classSwitch<List<FailureBehaviorChange>>
-