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.
  • Method Details

    • 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 types
      failureType - the failure 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 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 types
      softwareFailureId - the ID of this software failure type
      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 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 types
      failureType - the failure type
      internalAction - the internal action that exhibits the failure type
      signature - the component-provided signature that exhibits the failure type
      role - the component-provided role that exhibits the failure type
      iface - the component-provided interface that exhibits the failure type
      component - 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 types
      softwareFailureId - the ID of this software failure type
      internalActionId - 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