Java Code Examples for org.apache.commons.lang3.builder.ToStringStyle#SHORT_PREFIX_STYLE

The following examples show how to use org.apache.commons.lang3.builder.ToStringStyle#SHORT_PREFIX_STYLE . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: TagGroupReportRow.java    From sailfish-core with Apache License 2.0 6 votes vote down vote up
@Override
public String toString() {
       ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

       builder.append("dimensionsPath", dimensionsPath);
       builder.append("totalExecTime", totalExecTime);
       builder.append("totalTcCount", totalTcCount);
       builder.append("passedCount", passedCount);
       builder.append("conditionallyPassedCount", conditionallyPassedCount);
       builder.append("failedCount", failedCount);
       builder.append("passedPercent", passedPercent);
       builder.append("conditionallyPassedPercent", conditionallyPassedPercent);
       builder.append("failedPercent", failedPercent);
       builder.append("totalMatrices", totalMatrices);

       return builder.toString();
}
 
Example 2
Source File: VerificationParameter.java    From sailfish-core with Apache License 2.0 6 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

    builder.append("name", name);
    builder.append("expected", expected);
    builder.append("actual", actual);
    builder.append("precision", precision);
    builder.append("systemPrecision", systemPrecision);
    builder.append("status", status);
    builder.append("statusClass", statusClass);
    builder.append("level", level);
    builder.append("header", header);

    return builder.toString();
}
 
Example 3
Source File: AbstractRegisteredService.java    From springboot-shiro-cas-mybatis with MIT License 6 votes vote down vote up
@Override
public String toString() {
    final ToStringBuilder toStringBuilder = new ToStringBuilder(null, ToStringStyle.SHORT_PREFIX_STYLE);
    toStringBuilder.append("id", this.id);
    toStringBuilder.append("name", this.name);
    toStringBuilder.append("description", this.description);
    toStringBuilder.append("serviceId", this.serviceId);
    toStringBuilder.append("usernameAttributeProvider", this.usernameAttributeProvider);
    toStringBuilder.append("theme", this.theme);
    toStringBuilder.append("evaluationOrder", this.evaluationOrder);
    toStringBuilder.append("logoutType", this.logoutType);
    toStringBuilder.append("attributeReleasePolicy", this.attributeReleasePolicy);
    toStringBuilder.append("accessStrategy", this.accessStrategy);
    toStringBuilder.append("publicKey", this.publicKey);
    toStringBuilder.append("proxyPolicy", this.proxyPolicy);
    toStringBuilder.append("logo", this.logo);
    toStringBuilder.append("logoutUrl", this.logoutUrl);
    toStringBuilder.append("requiredHandlers", this.requiredHandlers);

    return toStringBuilder.toString();
}
 
Example 4
Source File: AMLBlock.java    From sailfish-core with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

    builder.append("line", line);
    builder.append("uid", uid);
    builder.append("cells", cells.values());
    builder.append("elements", elements.size());

    return builder.toString();
}
 
Example 5
Source File: JInnerClass.java    From jadira with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
	
	ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
	builder.append("name", getName());
	builder.append("enclosingClass", getEnclosingClass());
	
	return builder.toString();
}
 
Example 6
Source File: BaseEntity.java    From sailfish-core with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

    builder.append("name", name);
    builder.append("description", description);
    builder.append("elements", elements.size());
    builder.append("allKnownBugs", allKnownBugs);
    builder.append("reproducedBugs", reproducedBugs);

    return builder.toString();
}
 
Example 7
Source File: ServiceInstance.java    From ob1k with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
  final ToStringBuilder toStringBuilder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
  toStringBuilder.append("Node", Node);
  toStringBuilder.append("ServicePort", ServicePort);
  toStringBuilder.append("Address", Address);
  toStringBuilder.append("ServiceAddress", ServiceAddress);
  toStringBuilder.append("ServiceID", ServiceID);
  toStringBuilder.append("ServiceName", ServiceName);
  toStringBuilder.append("ServiceTags", ServiceTags);
  return toStringBuilder.toString();
}
 
Example 8
Source File: ActionClass.java    From sailfish-core with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

    builder.append("className", className);
    builder.append("classAliases", classAliases);
    builder.append("classDescription", classDescription);
    builder.append("plugin", version);
    builder.append("classMethods", classMethods);
    builder.append("utilityClasses", utilityClasses);

    return builder.toString();
}
 
Example 9
Source File: Edge.java    From jpa-unit with Apache License 2.0 5 votes vote down vote up
public String asString() {
    final ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    builder.append("id", getId());
    builder.append("labels", getLabels());
    builder.append("from", from);
    builder.append("to", to);
    builder.append("attributes", getAttributes());
    return builder.build();
}
 
Example 10
Source File: UtilityInfo.java    From sailfish-core with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

    builder.append("suri", uri);
    builder.append("parameterNames", parameterNames);
    builder.append("parameterTypes", parameterTypes);
    builder.append("returnType", returnType);
    builder.append("description", description);

    return builder.toString();
}
 
Example 11
Source File: AMLMatrix.java    From sailfish-core with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

    builder.append("header", header);
    builder.append("blocks", blocks.size());

    return builder.toString();
}
 
Example 12
Source File: UsernamePoints.java    From fredbet with Creative Commons Attribution Share Alike 4.0 International 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
    builder.append("userName", userName);
    builder.append("totalPoints", totalPoints);
    builder.append("goalDifference", goalDifference);
    builder.append("correctResultCount", correctResultCount);
    return builder.toString();
}
 
Example 13
Source File: AMLElement.java    From sailfish-core with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

    builder.append("line", line);
    builder.append("cells", cells.values());
    builder.append("skipOptional", skipOptional);

    return builder.toString();
}
 
Example 14
Source File: JVariable.java    From jadira with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
	
	ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
	builder.append("name", this.getName());
	builder.append("type", this.getType());
	builder.append("enclosingType", this.getEnclosingType());
	
	return builder.toString();
}
 
Example 15
Source File: AMLAction.java    From sailfish-core with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
	ToStringBuilder sb = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

	sb.append("line", line);
	sb.append("reference", reference);
	sb.append("actionURI", actionURI);
	sb.append("executionMode", executionMode);
	sb.append("description", description);
	sb.append("serviceName", serviceName);
	sb.append("id", id);
	sb.append("addToReport", addToReport);

	return sb.toString();
}
 
Example 16
Source File: ReportTable.java    From sailfish-core with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

    builder.append("name", name);
    builder.append("header", header);
    builder.append("rows", rows);

    return builder.toString();
}
 
Example 17
Source File: Verification.java    From sailfish-core with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

    builder.append("statusDescription", statusDescription);
    builder.append("parameters", parameters.size());

    return builder.toString();
}
 
Example 18
Source File: MINASession.java    From sailfish-core with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
    ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

    builder.append("serviceName", serviceName);
    builder.append("session", session);
    builder.append("loggedOn", loggedOn);

    return builder.toString();
}
 
Example 19
Source File: DayleTestCasesStatRow.java    From sailfish-core with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
       ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);

       builder.append("date", date);
       builder.append("passedCount", passedCount);
       builder.append("conditionallyPassedCount", conditionallyPassedCount);
       builder.append("failedCount", failedCount);

	return builder.toString();
}
 
Example 20
Source File: JConstructor.java    From jadira with Apache License 2.0 5 votes vote down vote up
@Override
public String toString() {
	
	ToStringBuilder builder = new ToStringBuilder(this, ToStringStyle.SHORT_PREFIX_STYLE);
	builder.append("name",this.getName());
	builder.append("enclosingType",this.getEnclosingType());
	builder.append("parameters",this.getParameters());
	
	return builder.toString();
}