use of com.google.common.base.MoreObjects.ToStringHelper in project gitiles by GerritCodeReview.
the class GitilesView method toString.
@Override
public String toString() {
ToStringHelper b = toStringHelper(type.toString()).omitNullValues().add("host", hostName).add("servlet", servletPath).add("prefix", repositoryPrefix).add("repo", repositoryName).add("rev", revision).add("old", oldRevision).add("path", path).add("extension", extension);
if (!params.isEmpty()) {
b.add("params", params);
}
b.add("anchor", anchor);
return b.toString();
}
use of com.google.common.base.MoreObjects.ToStringHelper in project DynamicSurroundings by OreCruncher.
the class DimensionInfo method toString.
@Override
@Nonnull
public String toString() {
final ToStringHelper builder = MoreObjects.toStringHelper(this);
builder.add("id", this.dimensionId);
builder.add("name", this.name);
builder.add("seaLevel", this.seaLevel);
builder.add("cloudHeight", this.cloudHeight);
builder.add("skyHeight", this.skyHeight);
builder.add("haze", this.hasHaze);
builder.add("aurora", this.hasAuroras);
builder.add("weather", this.hasWeather);
builder.add("fog", this.hasFog);
return builder.toString();
}
use of com.google.common.base.MoreObjects.ToStringHelper in project snow-owl by b2ihealthcare.
the class SnomedRefSetMemberFragment method toString.
@Override
public String toString() {
final ToStringHelper toStringHelper = MoreObjects.toStringHelper(this).add("uuid", uuid).add("source ID", sourceId);
if (null != targetId) {
toStringHelper.add("target ID", targetId);
}
toStringHelper.add("active", active);
return toStringHelper.toString();
}
use of com.google.common.base.MoreObjects.ToStringHelper in project openscoring by openscoring.
the class ModelResponse method toString.
@Override
public String toString() {
String message = getMessage();
if (message != null) {
return super.toString();
}
ToStringHelper stringHelper = MoreObjects.toStringHelper(getClass()).add("id", getId()).add("miningFunction", getMiningFunction()).add("summary", getSummary()).add("properties", getProperties()).add("schema", getSchema());
return stringHelper.toString();
}
use of com.google.common.base.MoreObjects.ToStringHelper in project openscoring by openscoring.
the class BatchModelResponse method toString.
@Override
public String toString() {
String message = getMessage();
if (message != null) {
return super.toString();
}
ToStringHelper stringHelper = MoreObjects.toStringHelper(getClass()).add("responses", getResponses());
return stringHelper.toString();
}
Aggregations