Class MarkovResourceTimeoutFailureType

  • All Implemented Interfaces:
    Comparable<MarkovFailureType>

    public class MarkovResourceTimeoutFailureType
    extends MarkovFailureType
    Represents a failure type for a failure-on-demand occurrence due to a timeout while requesting a passive resource.
    • Method Detail

      • createResourceTimeoutFailureType

        public static MarkovResourceTimeoutFailureType createResourceTimeoutFailureType​(MarkovEvaluationType evaluationType,
                                                                                        org.palladiosimulator.pcm.core.composition.AssemblyContext assemblyContext,
                                                                                        org.palladiosimulator.pcm.repository.BasicComponent component,
                                                                                        org.palladiosimulator.pcm.repository.PassiveResource passiveResource)
        Creates a new resource timeout failure type.
        Parameters:
        evaluationType - the degree of differentiation between failure types
        assemblyContext - the assemblyContext in which the passive resource is instantiated
        component - the component to which the passive resource belongs
        passiveResource - the passive resource
        Returns:
        the new failure type
      • createResourceTimeoutFailureType

        public static MarkovResourceTimeoutFailureType createResourceTimeoutFailureType​(MarkovEvaluationType evaluationType,
                                                                                        String assemblyContextId,
                                                                                        String passiveResourceId)
        Creates a new resource timeout failure type.
        Parameters:
        evaluationType - the degree of differentiation between failure types
        assemblyContextId - the ID of the component instance containing the passive resource, as specified through an AssemblyContext in a PCM System model
        passiveResourceId - the resource ID, as specified through a PassiveResource in a PCM Repository model
        Returns:
        the new failure type
      • getAssemblyContextId

        public String getAssemblyContextId()
        Retrieves the assembly context ID.
        Returns:
        the assembly context ID
      • getAssemblyContextName

        public String getAssemblyContextName()
        Retrieves the assembly context name.
        Returns:
        the assembly context name
      • 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
      • getPassiveResourceId

        public String getPassiveResourceId()
        Retrieves the passive resource ID.
        Returns:
        the passive resource ID
      • getPassiveResourceName

        public String getPassiveResourceName()
        Retrieves the passive resource name.
        Returns:
        the passive resource name