Record Class DesignDecisionRecord.Decision
java.lang.Object
java.lang.Record
com.eqixiac.equinix.design.record.DesignDecisionRecord.Decision
- Record Components:
portfolio- the portfolio key (for exampleLD+NY)metros- the metros, primary firstweightedScore- the weighted score, 0..100paretoOptimal- whether no other feasible option is at least as good on every objectiveobjectives- each objective's value, score, weight and scaleplacements- one line per workload: where it runs and where its standby isconstraints- every constraint check the recommendation passed, with what was verifiedrationale- why this option, in a few sentences
- Enclosing class:
DesignDecisionRecord
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theconstraintsrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.metros()Returns the value of themetrosrecord component.Returns the value of theobjectivesrecord component.booleanReturns the value of theparetoOptimalrecord component.Returns the value of theplacementsrecord component.Returns the value of theportfoliorecord component.Returns the value of therationalerecord component.final StringtoString()Returns a string representation of this record class.doubleReturns the value of theweightedScorerecord component.
-
Constructor Details
-
Decision
-
-
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. -
portfolio
-
metros
-
weightedScore
public double weightedScore()Returns the value of theweightedScorerecord component.- Returns:
- the value of the
weightedScorerecord component
-
paretoOptimal
public boolean paretoOptimal()Returns the value of theparetoOptimalrecord component.- Returns:
- the value of the
paretoOptimalrecord component
-
objectives
Returns the value of theobjectivesrecord component.- Returns:
- the value of the
objectivesrecord component
-
placements
Returns the value of theplacementsrecord component.- Returns:
- the value of the
placementsrecord component
-
constraints
Returns the value of theconstraintsrecord component.- Returns:
- the value of the
constraintsrecord component
-
rationale
-