Class MarkovHardwareInducedFailureType

  • All Implemented Interfaces:
    Comparable<MarkovFailureType>

    public class MarkovHardwareInducedFailureType
    extends MarkovFailureType
    Represents a failure type for a failure-on-demand occurrence due to an unavailable hardware resource.
    • Method Detail

      • createExternalFailureType

        public static MarkovHardwareInducedFailureType createExternalFailureType​(MarkovEvaluationType evaluationType,
                                                                                 org.palladiosimulator.pcm.resourcetype.ProcessingResourceType resoureType,
                                                                                 org.palladiosimulator.pcm.repository.Signature signature,
                                                                                 org.palladiosimulator.pcm.repository.Role role,
                                                                                 org.palladiosimulator.pcm.repository.Interface iface)
        Creates an external hardware-induced failure type.
        Parameters:
        evaluationType - the degree of differentiation between failure types
        resoureType - the failure causing processing 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 MarkovHardwareInducedFailureType createExternalFailureType​(MarkovEvaluationType evaluationType,
                                                                                 String resourceTypeId,
                                                                                 String signatureId,
                                                                                 String systemRequiredRoleId)
        Creates an external hardware-induced failure type.
        Parameters:
        evaluationType - the degree of differentiation between failure types
        resourceTypeId - the ID of the resource type, as specified for a ProcessingResourceType 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 MarkovHardwareInducedFailureType createInternalFailureType​(MarkovEvaluationType evaluationType,
                                                                                 org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer,
                                                                                 org.palladiosimulator.pcm.resourcetype.ProcessingResourceType resourceType)
        Creates an internal hardware-induced failure type.
        Parameters:
        evaluationType - the degree of differentiation between failure types
        resourceContainer - the failure causing resource container
        resourceType - the failure causing processing resource type
        Returns:
        the created failure type
      • createInternalFailureType

        public static MarkovHardwareInducedFailureType createInternalFailureType​(MarkovEvaluationType evaluationType,
                                                                                 String resourceContainerId,
                                                                                 String resourceTypeId)
        Creates an internal hardware-induced failure type.
        Parameters:
        evaluationType - the degree of differentiation between failure types
        resourceContainerId - the ID of the surrounding resource container, as specified for a ResourceContainer in a PCM ResourceEnvironment model
        resourceTypeId - the ID of the resource type, as specified for a ProcessingResourceType in a PCM ResourceRepository model
        Returns:
        the created failure type
      • getResourceContainerId

        public String getResourceContainerId()
        Retrieves the ID of the resource container.
        Returns:
        the ID of the resource container
      • getResourceContainerName

        public String getResourceContainerName()
        Retrieves the name of the resource container.
        Returns:
        the resource type container
      • getResourceTypeId

        public String getResourceTypeId()
        Retrieves the ID of the resource type.
        Returns:
        the resource type ID
      • getResourceTypeName

        public String getResourceTypeName()
        Retrieves the name of the resource type.
        Returns:
        the resource type name