Interface Statistics


  • public interface Statistics
    SPI for statistic plugins to implement.
    Author:
    Scott Marlow
    • Method Detail

      • getNames

        Set<String> getNames()
        Get the statistics names
        Returns:
        The value
      • getType

        Class getType​(String name)
        Get the type
        Parameters:
        name - of the statistic
        Returns:
        The value
      • isOperation

        boolean isOperation​(String name)
        return true if the specified name represents an operation.
        Parameters:
        name - of the statistic
        Returns:
      • isAttribute

        boolean isAttribute​(String name)
        return true if the specified name represents an attribute.
        Parameters:
        name - of the statistic
        Returns:
      • isWriteable

        boolean isWriteable​(String name)
        return true if the specified name represents a writeable attribute
        Parameters:
        name - of the statistics
        Returns:
      • getResourceBundleName

        String getResourceBundleName()
        for loading descriptions of statistics/operations
        Returns:
        name of resource bundle name
      • getResourceBundleKeyPrefix

        String getResourceBundleKeyPrefix()
        gets the key prefix for referencing descriptions of statistics/operations
        Returns:
      • getChildrenNames

        Set<String> getChildrenNames()
        get the names of the children statistic levels (if any)
        Returns:
        set of names
      • getChild

        Statistics getChild​(String childName)
        get the specified children statistics
        Parameters:
        childName - name of the statistics to return
        Returns: