Class MarkovResourceTimeoutFailureType
java.lang.Object
org.palladiosimulator.reliability.MarkovFailureType
org.palladiosimulator.reliability.MarkovResourceTimeoutFailureType
- All Implemented Interfaces:
Comparable<MarkovFailureType>
Represents a failure type for a failure-on-demand occurrence due to a timeout while requesting a
passive resource.
-
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
Modifier and TypeMethodDescriptioncreateResourceTimeoutFailureType
(MarkovEvaluationType evaluationType, String assemblyContextId, String passiveResourceId) Creates a new resource timeout failure type.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.Retrieves the assembly context ID.Retrieves the assembly context name.Retrieves the id of the component which exhibits the failure.Retrieves the name of the component which exhibits the failure.Retrieves the passive resource ID.Retrieves the passive resource name.Methods inherited from class org.palladiosimulator.reliability.MarkovFailureType
compareTo, equals, getId, getInterfaceId, getInterfaceName, getName, getRoleId, getRoleName, getSignatureId, getSignatureName, isSystemExternal
-
Method Details
-
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 typesassemblyContext
- the assemblyContext in which the passive resource is instantiatedcomponent
- the component to which the passive resource belongspassiveResource
- 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 typesassemblyContextId
- the ID of the component instance containing the passive resource, as specified through an AssemblyContext in a PCM System modelpassiveResourceId
- the resource ID, as specified through a PassiveResource in a PCM Repository model- Returns:
- the new failure type
-
getAssemblyContextId
Retrieves the assembly context ID.- Returns:
- the assembly context ID
-
getAssemblyContextName
Retrieves the assembly context name.- Returns:
- the assembly context name
-
getComponentId
Retrieves the id of the component which exhibits the failure.- Returns:
- the component id
-
getComponentName
Retrieves the name of the component which exhibits the failure.- Returns:
- the component name
-
getPassiveResourceId
Retrieves the passive resource ID.- Returns:
- the passive resource ID
-
getPassiveResourceName
Retrieves the passive resource name.- Returns:
- the passive resource name
-