Class 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.
    • 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 types
        commLinkResourceType - the failure causing communication link resource type
        signature - the system-required signature that exhibits the failure type
        role - the system-required role that exhibits the failure type
        iface - 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 types
        commLinkResourceTypeId - the ID of the resource type, as specified through a CommunicationLinkResourceType in a PCM ResourceRepository model
        signatureId - the ID of a signature, as specified for a system-required role in a PCM Repository model
        systemRequiredRoleId - 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 types
        linkingResource - the failure causing linking resource
        commLinkResourceType - 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 types
        linkingResourceId - the ID of the surrounding linking resource, as specified for a LinkingResource in a PCM ResourceEnvironment model
        commLinkResourceTypeId - 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