Record Class EstateReport.ActionItem
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.estate.EstateReport.ActionItem
- Record Components:
rank- 1 for the most importantfindingId- the finding idcategory- the categoryseverity- the severityconfidence- the confidenceaction- the recommended actionimpact- the financial impact, as textscore- the priority score
- Enclosing class:
EstateReport
public static record EstateReport.ActionItem(int rank, String findingId, FindingCategory category, Severity severity, Confidence confidence, String action, String impact, double score)
extends Record
One entry of the prioritised action list.
-
Constructor Summary
ConstructorsConstructorDescriptionActionItem(int rank, String findingId, FindingCategory category, Severity severity, Confidence confidence, String action, String impact, double score) Creates an instance of aActionItemrecord class. -
Method Summary
Modifier and TypeMethodDescriptionaction()Returns the value of theactionrecord component.category()Returns the value of thecategoryrecord component.Returns the value of theconfidencerecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of thefindingIdrecord component.final inthashCode()Returns a hash code value for this object.impact()Returns the value of theimpactrecord component.intrank()Returns the value of therankrecord component.doublescore()Returns the value of thescorerecord component.severity()Returns the value of theseverityrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ActionItem
public ActionItem(int rank, String findingId, FindingCategory category, Severity severity, Confidence confidence, String action, String impact, double score) Creates an instance of aActionItemrecord class.- Parameters:
rank- the value for therankrecord componentfindingId- the value for thefindingIdrecord componentcategory- the value for thecategoryrecord componentseverity- the value for theseverityrecord componentconfidence- the value for theconfidencerecord componentaction- the value for theactionrecord componentimpact- the value for theimpactrecord componentscore- the value for thescorerecord component
-
-
Method Details
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
rank
-
findingId
-
category
-
severity
-
confidence
Returns the value of theconfidencerecord component.- Returns:
- the value of the
confidencerecord component
-
action
-
impact
-
score
-