![JAR search and dependency download from the Maven repository](/logo.png)
com.hack23.maven.plugin.model.MeasuresContainer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sonar-quality-gates-maven-plugin Show documentation
Show all versions of sonar-quality-gates-maven-plugin Show documentation
This plugin will break the maven build if the project fails the sonarqube quality gate
The newest version!
package com.hack23.maven.plugin.model;
import java.util.Collections;
import java.util.List;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
/**
* The Class MeasuresContainer.
*/
public final class MeasuresContainer {
/** The measures. */
private List measures;
/**
* Instantiates a new measures container.
*/
public MeasuresContainer() {
super();
}
/**
* Gets the measures.
*
* @return the measures
*/
public List getMeasures() {
return Collections.unmodifiableList(measures);
}
/**
* Sets the measures.
*
* @param measures the new measures
*/
public void setMeasures(final List measures) {
this.measures = Collections.unmodifiableList(measures);
}
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, ToStringStyle.SHORT_PREFIX_STYLE);
}
@Override
public boolean equals(final Object object) {
return EqualsBuilder.reflectionEquals(this, object);
}
@Override
public int hashCode() {
return HashCodeBuilder.reflectionHashCode(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy