Class StatisticBuilder.AbstractStatisticBuilder<T extends StatisticBuilder.AbstractStatisticBuilder<T>>

  • Type Parameters:
    T - the generic type
    Direct Known Subclasses:
    StatisticBuilder.OperationStatisticBuilder
    Enclosing class:
    StatisticBuilder

    static class StatisticBuilder.AbstractStatisticBuilder<T extends StatisticBuilder.AbstractStatisticBuilder<T>>
    extends java.lang.Object
    The Class AbstractStatisticBuilder.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.Object context
      The context.
      protected java.lang.String name
      The name.
      protected java.util.Map<java.lang.String,​java.lang.Object> properties
      The properties.
      protected java.util.Set<java.lang.String> tags
      The tags.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      T named​(java.lang.String name)
      Named.
      T of​(java.lang.Object of)
      Of.
      T property​(java.lang.String key, java.lang.Object value)
      Tag.
      T tag​(java.lang.String... tags)
      Tag.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • tags

        protected final java.util.Set<java.lang.String> tags
        The tags.
      • properties

        protected final java.util.Map<java.lang.String,​java.lang.Object> properties
        The properties.
      • context

        protected java.lang.Object context
        The context.
      • name

        protected java.lang.String name
        The name.
    • Constructor Detail

      • AbstractStatisticBuilder

        AbstractStatisticBuilder()
    • Method Detail

      • of

        public T of​(java.lang.Object of)
        Of.
        Parameters:
        of - the of
        Returns:
        the builder
      • named

        public T named​(java.lang.String name)
        Named.
        Parameters:
        name - the name
        Returns:
        the builder
      • tag

        public T tag​(java.lang.String... tags)
        Tag.
        Parameters:
        tags - the tags
        Returns:
        the builder
      • property

        public T property​(java.lang.String key,
                          java.lang.Object value)
        Tag.
        Parameters:
        key - the property key
        value - the property value
        Returns:
        the builder