Class ResponseTimeResourceType

  • All Implemented Interfaces:
    OnmsResourceType

    public final class ResponseTimeResourceType
    extends java.lang.Object
    implements OnmsResourceType
    Response time resources are stored in paths like: response/${ipaddr}/ds.rrd
    • Method Detail

      • getLabel

        public java.lang.String getLabel()

        getLabel

        Specified by:
        getLabel in interface OnmsResourceType
        Returns:
        a String object.
      • getName

        public java.lang.String getName()

        getName

        Specified by:
        getName in interface OnmsResourceType
        Returns:
        a String object.
      • isResourceTypeOnParent

        public boolean isResourceTypeOnParent​(OnmsResource parent)
        Description copied from interface: OnmsResourceType
        Returns true if one on more instances of the resource type are present on the parent resource. Top-level resource types should always return false.
        Specified by:
        isResourceTypeOnParent in interface OnmsResourceType
      • getResourcesForParent

        public java.util.List<OnmsResource> getResourcesForParent​(OnmsResource parent)
        Description copied from interface: OnmsResourceType
        Returns the set of resources that are available on the given parent. If none are available, i.e. isResourceTypeOnParent() would return false, then an empty list should be returned. Top-level resource types should return the set of top-level resources when parent is null.
        Specified by:
        getResourcesForParent in interface OnmsResourceType
      • getInterfacePath

        public static ResourcePath getInterfacePath​(java.lang.String location,
                                                    java.lang.String ipAddr)