Class MarkovSoftwareInducedFailureType
- java.lang.Object
-
- org.palladiosimulator.reliability.MarkovFailureType
-
- org.palladiosimulator.reliability.MarkovSoftwareInducedFailureType
-
- All Implemented Interfaces:
Comparable<MarkovFailureType>
public class MarkovSoftwareInducedFailureType extends MarkovFailureType
Represents a failure type for a software-induced failure-on-demand occurrence. This failure type specification corresponds to the specification of SoftwareInducedFailureTypes in a PCM Repository model.
-
-
Field Summary
-
Fields inherited from class org.palladiosimulator.reliability.MarkovFailureType
DEFAULT_ID, DEFAULT_NAME, evaluationType, id, interfaceId, interfaceName, name, roleId, roleName, signatureId, signatureName, systemExternal
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MarkovSoftwareInducedFailureType
createExternalFailureType(MarkovEvaluationType evaluationType, String softwareFailureId, String signatureId, String systemRequiredRoleId)
Creates an external software-induced failure type.static MarkovSoftwareInducedFailureType
createExternalFailureType(MarkovEvaluationType evaluationType, org.palladiosimulator.pcm.reliability.SoftwareInducedFailureType failureType, org.palladiosimulator.pcm.repository.Signature signature, org.palladiosimulator.pcm.repository.Role role, org.palladiosimulator.pcm.repository.Interface iface)
Creates an external software-induced failure type.static MarkovSoftwareInducedFailureType
createInternalFailureType(MarkovEvaluationType evaluationType, String softwareFailureId, String internalActionId)
Creates an internal software-induced failure type.static MarkovSoftwareInducedFailureType
createInternalFailureType(MarkovEvaluationType evaluationType, org.palladiosimulator.pcm.reliability.SoftwareInducedFailureType failureType, org.palladiosimulator.pcm.seff.InternalAction internalAction, org.palladiosimulator.pcm.repository.Signature signature, org.palladiosimulator.pcm.repository.Role role, org.palladiosimulator.pcm.repository.Interface iface, org.palladiosimulator.pcm.repository.BasicComponent component)
Creates an internal software-induced failure type.String
getComponentId()
Retrieves the id of the component which exhibits the failure.String
getComponentName()
Retrieves the name of the component which exhibits the failure.String
getInternalActionId()
Retrieves the id of the internal action which exhibits the failure.String
getInternalActionName()
Retrieves the name of the internal action which exhibits the failure.String
getSoftwareFailureId()
Retrieves the id of this software failure type.String
getSoftwareFailureName()
Retrieves the name of this software failure type.-
Methods inherited from class org.palladiosimulator.reliability.MarkovFailureType
compareTo, equals, getId, getInterfaceId, getInterfaceName, getName, getRoleId, getRoleName, getSignatureId, getSignatureName, isSystemExternal
-
-
-
-
Method Detail
-
createExternalFailureType
public static MarkovSoftwareInducedFailureType createExternalFailureType(MarkovEvaluationType evaluationType, org.palladiosimulator.pcm.reliability.SoftwareInducedFailureType failureType, org.palladiosimulator.pcm.repository.Signature signature, org.palladiosimulator.pcm.repository.Role role, org.palladiosimulator.pcm.repository.Interface iface)
Creates an external software-induced failure type.- Parameters:
evaluationType
- the degree of differentiation between failure typesfailureType
- the failure typesignature
- the system-required signature that exhibits the failure typerole
- the system-required role that exhibits the failure typeiface
- the system-required interface that exhibits the failure type- Returns:
- the created failure type
-
createExternalFailureType
public static MarkovSoftwareInducedFailureType createExternalFailureType(MarkovEvaluationType evaluationType, String softwareFailureId, String signatureId, String systemRequiredRoleId)
Creates an external software-induced failure type.- Parameters:
evaluationType
- the degree of differentiation between failure typessoftwareFailureId
- the ID of this software failure typesignatureId
- the ID of a signature, as specified for a system-required role in a PCM Repository modelsystemRequiredRoleId
- the ID of the system-required role, as specified in a PCM System model- Returns:
- the created failure type
-
createInternalFailureType
public static MarkovSoftwareInducedFailureType createInternalFailureType(MarkovEvaluationType evaluationType, org.palladiosimulator.pcm.reliability.SoftwareInducedFailureType failureType, org.palladiosimulator.pcm.seff.InternalAction internalAction, org.palladiosimulator.pcm.repository.Signature signature, org.palladiosimulator.pcm.repository.Role role, org.palladiosimulator.pcm.repository.Interface iface, org.palladiosimulator.pcm.repository.BasicComponent component)
Creates an internal software-induced failure type.- Parameters:
evaluationType
- the degree of differentiation between failure typesfailureType
- the failure typeinternalAction
- the internal action that exhibits the failure typesignature
- the component-provided signature that exhibits the failure typerole
- the component-provided role that exhibits the failure typeiface
- the component-provided interface that exhibits the failure typecomponent
- the component that exhibits the failure type- Returns:
- the created failure type
-
createInternalFailureType
public static MarkovSoftwareInducedFailureType createInternalFailureType(MarkovEvaluationType evaluationType, String softwareFailureId, String internalActionId)
Creates an internal software-induced failure type.- Parameters:
evaluationType
- the degree of differentiation between failure typessoftwareFailureId
- the ID of this software failure typeinternalActionId
- the ID of the associated internal action as specified in the PCM Repository model- Returns:
- the created failure type
-
getComponentId
public String getComponentId()
Retrieves the id of the component which exhibits the failure.- Returns:
- the component id
-
getComponentName
public String getComponentName()
Retrieves the name of the component which exhibits the failure.- Returns:
- the component name
-
getInternalActionId
public String getInternalActionId()
Retrieves the id of the internal action which exhibits the failure.- Returns:
- the internal action id
-
getInternalActionName
public String getInternalActionName()
Retrieves the name of the internal action which exhibits the failure.- Returns:
- the internal action name
-
getSoftwareFailureId
public String getSoftwareFailureId()
Retrieves the id of this software failure type.- Returns:
- the software failure type id
-
getSoftwareFailureName
public String getSoftwareFailureName()
Retrieves the name of this software failure type.- Returns:
- the software failure type name
-
-