Class SonarQubeMeasure
- java.lang.Object
-
- tech.kronicle.sdk.models.sonarqube.SonarQubeMeasure
-
public final class SonarQubeMeasure extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSonarQubeMeasure.SonarQubeMeasureBuilder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SonarQubeMeasure.SonarQubeMeasureBuilderbuilder()booleanequals(java.lang.Object o)java.lang.BooleangetBestValue()java.lang.StringgetMetric()java.lang.StringgetValue()inthashCode()SonarQubeMeasure.SonarQubeMeasureBuildertoBuilder()java.lang.StringtoString()SonarQubeMeasurewithBestValue(java.lang.Boolean bestValue)SonarQubeMeasurewithMetric(java.lang.String metric)SonarQubeMeasurewithValue(java.lang.String value)
-
-
-
Method Detail
-
builder
public static SonarQubeMeasure.SonarQubeMeasureBuilder builder()
-
toBuilder
public SonarQubeMeasure.SonarQubeMeasureBuilder toBuilder()
-
getMetric
public java.lang.String getMetric()
-
getValue
public java.lang.String getValue()
-
getBestValue
public java.lang.Boolean getBestValue()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
withMetric
public SonarQubeMeasure withMetric(java.lang.String metric)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withValue
public SonarQubeMeasure withValue(java.lang.String value)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withBestValue
public SonarQubeMeasure withBestValue(java.lang.Boolean bestValue)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-