Class FailureDescription


  • public class FailureDescription
    extends Object
    Describes a point of failure in a PCM model.
    • Constructor Detail

      • FailureDescription

        public FailureDescription​(org.palladiosimulator.reliability.MarkovFailureType type,
                                  double probability)
        Creates a new FailureDescription.
        Parameters:
        type - the type of failure
        probability - the probability of failure
    • Method Detail

      • getFailureProbability

        public final double getFailureProbability()
        Retrieves the probability of failure.
        Returns:
        the probability of failure
      • getFailureType

        public final org.palladiosimulator.reliability.MarkovFailureType getFailureType()
        Retrieves the type of failure.
        Returns:
        the type of failure
      • setFailureProbability

        public void setFailureProbability​(double failureProbability)
        Overwrites an existing failure probability.
        Parameters:
        failureProbability -