Class MarkovHardwareInducedFailureType
- java.lang.Object
-
- org.palladiosimulator.reliability.MarkovFailureType
-
- org.palladiosimulator.reliability.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.
-
-
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 MarkovHardwareInducedFailureType
createExternalFailureType(MarkovEvaluationType evaluationType, String resourceTypeId, String signatureId, String systemRequiredRoleId)
Creates an external hardware-induced failure type.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.static MarkovHardwareInducedFailureType
createInternalFailureType(MarkovEvaluationType evaluationType, String resourceContainerId, String resourceTypeId)
Creates an internal hardware-induced failure type.static MarkovHardwareInducedFailureType
createInternalFailureType(MarkovEvaluationType evaluationType, org.palladiosimulator.pcm.resourceenvironment.ResourceContainer resourceContainer, org.palladiosimulator.pcm.resourcetype.ProcessingResourceType resourceType)
Creates an internal hardware-induced failure type.String
getResourceContainerId()
Retrieves the ID of the resource container.String
getResourceContainerName()
Retrieves the name of the resource container.String
getResourceTypeId()
Retrieves the ID of the resource type.String
getResourceTypeName()
Retrieves the name of the resource type.-
Methods inherited from class org.palladiosimulator.reliability.MarkovFailureType
compareTo, equals, getId, getInterfaceId, getInterfaceName, getName, getRoleId, getRoleName, getSignatureId, getSignatureName, isSystemExternal
-
-
-
-
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 typesresoureType
- the failure causing processing resource typesignature
- the system-required signature that exhibits the failure typerole
- the system-required role that exhibits the failure typeiface
- 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 typesresourceTypeId
- the ID of the resource type, as specified for a ProcessingResourceType in a PCM ResourceRepository modelsignatureId
- the ID of a signature, as specified for a system-required role in a PCM Repository modelsystemRequiredRoleId
- 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 typesresourceContainer
- the failure causing resource containerresourceType
- 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 typesresourceContainerId
- the ID of the surrounding resource container, as specified for a ResourceContainer in a PCM ResourceEnvironment modelresourceTypeId
- 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
-
-