Class MarkovNetworkInducedFailureType
- java.lang.Object
-
- org.palladiosimulator.reliability.MarkovFailureType
-
- org.palladiosimulator.reliability.MarkovNetworkInducedFailureType
-
- All Implemented Interfaces:
Comparable<MarkovFailureType>
public class MarkovNetworkInducedFailureType extends MarkovFailureType
Represents a failure type for a failure-on-demand occurrence due to a communication link transmission error.
-
-
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 MarkovNetworkInducedFailureType
createExternalFailureType(MarkovEvaluationType evaluationType, String commLinkResourceTypeId, String signatureId, String systemRequiredRoleId)
Creates an external network-induced failure type.static MarkovNetworkInducedFailureType
createExternalFailureType(MarkovEvaluationType evaluationType, org.palladiosimulator.pcm.resourcetype.CommunicationLinkResourceType commLinkResourceType, org.palladiosimulator.pcm.repository.Signature signature, org.palladiosimulator.pcm.repository.Role role, org.palladiosimulator.pcm.repository.Interface iface)
Creates an external network-induced failure type.static MarkovNetworkInducedFailureType
createInternalFailureType(MarkovEvaluationType evaluationType, String linkingResourceId, String commLinkResourceTypeId)
Creates an internal network-induced failure type.static MarkovNetworkInducedFailureType
createInternalFailureType(MarkovEvaluationType evaluationType, org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource, org.palladiosimulator.pcm.resourcetype.CommunicationLinkResourceType commLinkResourceType)
Creates an internal network-induced failure type.String
getCommLinkResourceTypeId()
Retrieves the ID of the communication resource type.String
getCommLinkResourceTypeName()
Retrieves the name of the communication resource type.String
getLinkingResourceId()
Retrieves the ID of the communication link.String
getLinkingResourceName()
Retrieves the name of the communication link.-
Methods inherited from class org.palladiosimulator.reliability.MarkovFailureType
compareTo, equals, getId, getInterfaceId, getInterfaceName, getName, getRoleId, getRoleName, getSignatureId, getSignatureName, isSystemExternal
-
-
-
-
Method Detail
-
createExternalFailureType
public static MarkovNetworkInducedFailureType createExternalFailureType(MarkovEvaluationType evaluationType, org.palladiosimulator.pcm.resourcetype.CommunicationLinkResourceType commLinkResourceType, org.palladiosimulator.pcm.repository.Signature signature, org.palladiosimulator.pcm.repository.Role role, org.palladiosimulator.pcm.repository.Interface iface)
Creates an external network-induced failure type.- Parameters:
evaluationType
- the degree of differentiation between failure typescommLinkResourceType
- the failure causing communication link resource 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 MarkovNetworkInducedFailureType createExternalFailureType(MarkovEvaluationType evaluationType, String commLinkResourceTypeId, String signatureId, String systemRequiredRoleId)
Creates an external network-induced failure type.- Parameters:
evaluationType
- the degree of differentiation between failure typescommLinkResourceTypeId
- the ID of the resource type, as specified through a CommunicationLinkResourceType in a PCM ResourceRepository modelsignatureId
- 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 MarkovNetworkInducedFailureType createInternalFailureType(MarkovEvaluationType evaluationType, org.palladiosimulator.pcm.resourceenvironment.LinkingResource linkingResource, org.palladiosimulator.pcm.resourcetype.CommunicationLinkResourceType commLinkResourceType)
Creates an internal network-induced failure type.- Parameters:
evaluationType
- the degree of differentiation between failure typeslinkingResource
- the failure causing linking resourcecommLinkResourceType
- the failure causing communication link resource type- Returns:
- the created failure type
-
createInternalFailureType
public static MarkovNetworkInducedFailureType createInternalFailureType(MarkovEvaluationType evaluationType, String linkingResourceId, String commLinkResourceTypeId)
Creates an internal network-induced failure type.- Parameters:
evaluationType
- the degree of differentiation between failure typeslinkingResourceId
- the ID of the surrounding linking resource, as specified for a LinkingResource in a PCM ResourceEnvironment modelcommLinkResourceTypeId
- the ID of the resource type, as specified through a CommunicationLinkResourceType in a PCM ResourceRepository model- Returns:
- the created failure type
-
getCommLinkResourceTypeId
public String getCommLinkResourceTypeId()
Retrieves the ID of the communication resource type.- Returns:
- the ID of the communication resource type
-
getCommLinkResourceTypeName
public String getCommLinkResourceTypeName()
Retrieves the name of the communication resource type.- Returns:
- the name of the communication resource type
-
getLinkingResourceId
public String getLinkingResourceId()
Retrieves the ID of the communication link.- Returns:
- the ID of the communication link
-
getLinkingResourceName
public String getLinkingResourceName()
Retrieves the name of the communication link.- Returns:
- the name of the communication link
-
-