Class StatisticsReportModel.PrettyOnmsResource

  • All Implemented Interfaces:
    java.lang.Comparable<OnmsResource>
    Enclosing class:
    StatisticsReportModel

    public static class StatisticsReportModel.PrettyOnmsResource
    extends OnmsResource
    This class extends OnmsResource and overrides the toString() method, providing a more human-readable description of the resource.
    Author:
    jeffg
    • Constructor Detail

      • PrettyOnmsResource

        public PrettyOnmsResource​(OnmsResource rs)

        Constructor for PrettyOnmsResource.

        Parameters:
        rs - a OnmsResource object.
    • Method Detail

      • toString

        public java.lang.String toString()

        toString

        Overrides:
        toString in class OnmsResource
        Returns:
        a String object.