Class GrouperClientUtils.NotNullToStringStyle

java.lang.Object
edu.internet2.middleware.grouperClientExt.org.apache.commons.lang3.builder.ToStringStyle
edu.internet2.middleware.grouperClient.util.GrouperClientUtils.NotNullToStringStyle
All Implemented Interfaces:
Serializable
Enclosing class:
GrouperClientUtils

public static final class GrouperClientUtils.NotNullToStringStyle extends ToStringStyle
dont print null fields in reflection
See Also:
  • Field Details

    • NOT_NULL_STYLE

      public static final ToStringStyle NOT_NULL_STYLE
  • Constructor Details

    • NotNullToStringStyle

      public NotNullToStringStyle()
  • Method Details

    • append

      public void append(StringBuffer buffer, String fieldName, Object value, Boolean fullDetail)
      Description copied from class: ToStringStyle

      Append to the toString an Object value, printing the full toString of the Object passed in.

      Overrides:
      append in class ToStringStyle
      Parameters:
      buffer - the StringBuffer to populate
      fieldName - the field name
      value - the value to add to the toString
      fullDetail - true for detail, false for summary info, null for style decides