Class SonarQubeProject
- java.lang.Object
-
- tech.kronicle.sdk.models.sonarqube.SonarQubeProject
-
public final class SonarQubeProject extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSonarQubeProject.SonarQubeProjectBuilder
-
Constructor Summary
Constructors Constructor Description SonarQubeProject(java.lang.String key, java.lang.String name, java.lang.String url, java.time.LocalDateTime lastCommitTimestamp, java.util.List<SonarQubeMeasure> measures)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SonarQubeProject.SonarQubeProjectBuilderbuilder()booleanequals(java.lang.Object o)java.lang.StringgetKey()java.time.LocalDateTimegetLastCommitTimestamp()java.util.List<@Valid SonarQubeMeasure>getMeasures()java.lang.StringgetName()java.lang.StringgetUrl()inthashCode()SonarQubeProject.SonarQubeProjectBuildertoBuilder()java.lang.StringtoString()SonarQubeProjectwithKey(java.lang.String key)SonarQubeProjectwithLastCommitTimestamp(java.time.LocalDateTime lastCommitTimestamp)SonarQubeProjectwithMeasures(java.util.List<@Valid SonarQubeMeasure> measures)SonarQubeProjectwithName(java.lang.String name)SonarQubeProjectwithUrl(java.lang.String url)
-
-
-
Constructor Detail
-
SonarQubeProject
public SonarQubeProject(java.lang.String key, java.lang.String name, java.lang.String url, java.time.LocalDateTime lastCommitTimestamp, java.util.List<SonarQubeMeasure> measures)
-
-
Method Detail
-
builder
public static SonarQubeProject.SonarQubeProjectBuilder builder()
-
toBuilder
public SonarQubeProject.SonarQubeProjectBuilder toBuilder()
-
getKey
public java.lang.String getKey()
-
getName
public java.lang.String getName()
-
getUrl
public java.lang.String getUrl()
-
getLastCommitTimestamp
public java.time.LocalDateTime getLastCommitTimestamp()
-
getMeasures
public java.util.List<@Valid SonarQubeMeasure> getMeasures()
-
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
-
withKey
public SonarQubeProject withKey(java.lang.String key)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withName
public SonarQubeProject withName(java.lang.String name)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withUrl
public SonarQubeProject withUrl(java.lang.String url)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withLastCommitTimestamp
public SonarQubeProject withLastCommitTimestamp(java.time.LocalDateTime lastCommitTimestamp)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
withMeasures
public SonarQubeProject withMeasures(java.util.List<@Valid SonarQubeMeasure> measures)
- Returns:
- a clone of this object, except with this updated property (returns
thisif an identical value is passed).
-
-