Class MarkovFailureType
java.lang.Object
org.palladiosimulator.reliability.MarkovFailureType
- All Implemented Interfaces:
Comparable<MarkovFailureType>
- Direct Known Subclasses:
MarkovHardwareInducedFailureType
,MarkovNetworkInducedFailureType
,MarkovResourceTimeoutFailureType
,MarkovSoftwareInducedFailureType
Represents a type identification for failure-on-demand occurrences during the reliability
analysis / simulation.
-
Field Summary
Modifier and TypeFieldDescriptionprotected static String
A default id for new failure types.protected static String
A default name for new failure types.protected MarkovEvaluationType
The degree of differentiation between failure types.protected String
The ID of this failure type.protected String
The id of the (system-required) interface which exhibits the failure.protected String
The name of the (system-required) interface which exhibits the failure.protected String
The human-readable name of this failure type.protected String
The id of the (system-required) role which exhibits the failure.protected String
The name of the (system-required) role which exhibits the failure.protected String
The id of the (system-required) signature which exhibits the failure.protected String
The name of the (system-required) signature which exhibits the failure.protected boolean
Indicates if this failure type is system-external, i.e. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
boolean
getId()
Retrieves the ID of this failure type.Retrieves the id of the (system-required) interface which exhibits the failure.Retrieves the name of the (system-required) interface which exhibits the failure.getName()
Retrieves a name of this failure type.Retrieves the id of the (system-required) role which exhibits the failure.Retrieves the name of the (system-required) role which exhibits the failure.Retrieves the id of the (system-required) signature which exhibits the failure.Retrieves the name of the (system-required) signature which exhibits the failure.boolean
Indicates if this failure type is system-external, i.e.
-
Field Details
-
evaluationType
The degree of differentiation between failure types. -
DEFAULT_ID
A default id for new failure types. -
DEFAULT_NAME
A default name for new failure types. -
id
The ID of this failure type. The ID is unique across all failure types within an analysis or simulation run. -
interfaceId
The id of the (system-required) interface which exhibits the failure. -
interfaceName
The name of the (system-required) interface which exhibits the failure. -
name
The human-readable name of this failure type. -
roleId
The id of the (system-required) role which exhibits the failure. -
roleName
The name of the (system-required) role which exhibits the failure. -
signatureId
The id of the (system-required) signature which exhibits the failure. -
signatureName
The name of the (system-required) signature which exhibits the failure. -
systemExternal
protected boolean systemExternalIndicates if this failure type is system-external, i.e. originated outside the system. By default, failure types are instantiated as being internal.
-
-
Constructor Details
-
MarkovFailureType
public MarkovFailureType()
-
-
Method Details
-
compareTo
- Specified by:
compareTo
in interfaceComparable<MarkovFailureType>
-
equals
-
getId
Retrieves the ID of this failure type.- Returns:
- the ID of this failure type
-
getInterfaceId
Retrieves the id of the (system-required) interface which exhibits the failure.- Returns:
- the interface id
-
getInterfaceName
Retrieves the name of the (system-required) interface which exhibits the failure.- Returns:
- the interface name
-
getName
Retrieves a name of this failure type. The name is used for describing the failure type in the simulation result data.- Returns:
- the name of this failure type.
-
getRoleId
Retrieves the id of the (system-required) role which exhibits the failure.- Returns:
- the role id
-
getRoleName
Retrieves the name of the (system-required) role which exhibits the failure.- Returns:
- the role name
-
getSignatureId
Retrieves the id of the (system-required) signature which exhibits the failure.- Returns:
- the signature id
-
getSignatureName
Retrieves the name of the (system-required) signature which exhibits the failure.- Returns:
- the signature name
-
isSystemExternal
public boolean isSystemExternal()Indicates if this failure type is system-external, i.e. originated outside the system.- Returns:
-