Class FoundFailureCause

    • Constructor Detail

      • FoundFailureCause

        public FoundFailureCause​(FailureCause originalCause)
        Constructor used when converting old failureCauses to foundFailureCauses.
        Parameters:
        originalCause - the original FailureCause.
      • FoundFailureCause

        public FoundFailureCause​(FailureCause originalCause,
                                 List<FoundIndication> indications)
        Standard constructor.
        Parameters:
        originalCause - the original FailureCause.
        indications - the indications found that imply this cause.
    • Method Detail

      • getId

        @Exported
        public String getId()
        Getter for the id.
        Returns:
        the id.
      • getDescription

        @Exported
        public String getDescription()
        Getter for the description.
        Returns:
        the description.
      • getIndications

        @Exported
        public List<FoundIndication> getIndications()
        Getter for the list of found indications.
        Returns:
        the list.
      • addIndication

        @Deprecated
        public void addIndication​(FoundIndication indication)
        Deprecated.
        Prefer adding indications via the constructor. Indication added with this method do not participate in the building of the formatted description.
        Adds a found indication to the list.
        Parameters:
        indication - the indication to add.
      • addIndications

        @Deprecated
        public void addIndications​(List<FoundIndication> foundIndications)
        Deprecated.
        Prefer adding indications via the constructor. Indication added with this method do not participate in the building of the formatted description.
        Adds a list of FoundIndications to this cause.
        Parameters:
        foundIndications - the list of FoundIndications to add.