@ExportedBean public class FoundFailureCause extends Object
Constructor and Description |
---|
FoundFailureCause(FailureCause originalCause)
Constructor used when converting old failureCauses to foundFailureCauses.
|
FoundFailureCause(FailureCause originalCause,
List<FoundIndication> indications)
Standard constructor.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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.
|
List<String> |
getCategories()
Getter for the categories.
|
String |
getDescription()
Getter for the description.
|
String |
getId()
Getter for the id.
|
List<FoundIndication> |
getIndications()
Getter for the list of found indications.
|
String |
getName()
Getter for the name.
|
public FoundFailureCause(FailureCause originalCause)
originalCause
- the original FailureCause.public FoundFailureCause(FailureCause originalCause, List<FoundIndication> indications)
originalCause
- the original FailureCause.indications
- the indications found that imply this cause.@Exported public String getId()
@Exported public String getName()
@Exported public String getDescription()
@Exported public List<String> getCategories()
public List<FoundIndication> getIndications()
@Deprecated public void addIndication(FoundIndication indication)
indication
- the indication to add.@Deprecated public void addIndications(List<FoundIndication> foundIndications)
foundIndications
- the list of FoundIndications to add.Copyright © 2016–2021. All rights reserved.