Package org.springframework.core.style

Examples of org.springframework.core.style.ToStringCreator


  /**
   * Generates a text string, which contains the {@link #size() size} as well
   * as the {@link #hitCount hit} and {@link #missCount miss} counts.
   */
  public String toString() {
    return new ToStringCreator(this)//
    .append("size", size())//
    .append("hitCount", getHitCount())//
    .append("missCount", getMissCount())//
    .toString();
  }
View Full Code Here


   * {@link #getActiveProfiles() active profiles}, and the name of the
   * {@link #getContextLoader() ContextLoader}.
   */
  @Override
  public String toString() {
    return new ToStringCreator(this)//
    .append("testClass", testClass)//
    .append("locations", ObjectUtils.nullSafeToString(locations))//
    .append("classes", ObjectUtils.nullSafeToString(classes))//
    .append("activeProfiles", ObjectUtils.nullSafeToString(activeProfiles))//
    .append("contextLoader", nullSafeToString(contextLoader))//
View Full Code Here

   * Provide a String representation of the context configuration attributes
   * and declaring class.
   */
  @Override
  public String toString() {
    return new ToStringCreator(this)//
    .append("declaringClass", declaringClass.getName())//
    .append("locations", ObjectUtils.nullSafeToString(locations))//
    .append("classes", ObjectUtils.nullSafeToString(classes))//
    .append("inheritLocations", inheritLocations)//
    .append("contextLoaderClass", contextLoaderClass.getName())//
View Full Code Here

  }


  @Override
  public String toString() {
    return new ToStringCreator(this)
        .append("transactionManagerName", this.transactionManagerName)
        .append("defaultRollback", this.defaultRollback)
        .toString();
  }
View Full Code Here

  /**
   * Provide a String representation of this test context's state.
   */
  @Override
  public String toString() {
    return new ToStringCreator(this).
        append("testClass", this.testClass).
        append("locations", this.locations).append("testInstance", this.testInstance).
        append("testMethod", this.testMethod).append("testException", this.testException).
        toString();
  }
View Full Code Here

  protected boolean hasChanged(int currentValue, int proposedValue) {
    return currentValue != proposedValue;
  }

  public String toString() {
    return new ToStringCreator(this).toString();
  }
View Full Code Here

    /**
     * {@inheritDoc}
     */
  public String toString() {
    return new ToStringCreator(this).append("listenerClass", listenerClass).append("listeners", listeners)
        .toString();
  }
View Full Code Here

    public void onAboutToShow() {
    }

    public String toString() {
        return new ToStringCreator(this).append("id", getId()).toString();
    }
View Full Code Here

            }
        }
    }

    public String toString() {
        return new ToStringCreator(this).append("bufferedValue", bufferedValue).toString();
    }
View Full Code Here

      fireValueChange(oldValue, this.value);
    }
  }

  public String toString() {
    return new ToStringCreator(this).append("value", getValue()).toString();
  }
View Full Code Here

TOP

Related Classes of org.springframework.core.style.ToStringCreator

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.