Class MarkovResourceTimeoutFailureType
- java.lang.Object
-
- org.palladiosimulator.reliability.MarkovFailureType
-
- org.palladiosimulator.reliability.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.
-
-
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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MarkovResourceTimeoutFailureType
createResourceTimeoutFailureType(MarkovEvaluationType evaluationType, String assemblyContextId, String passiveResourceId)
Creates a new resource timeout failure type.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.String
getAssemblyContextId()
Retrieves the assembly context ID.String
getAssemblyContextName()
Retrieves the assembly context name.String
getComponentId()
Retrieves the id of the component which exhibits the failure.String
getComponentName()
Retrieves the name of the component which exhibits the failure.String
getPassiveResourceId()
Retrieves the passive resource ID.String
getPassiveResourceName()
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 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 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
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
-
-