Interface ReportContainer<T extends Report>

    • Method Detail

      • getEnabled

        @Internal
        NamedDomainObjectSet<T> getEnabled()
        Returns an immutable collection of all the enabled Report objects in this container.

        The returned collection is live. That is, as reports are enabled/disabled the returned collection always reflects the current set of enabled reports.

        Returns:
        The enabled reports.
      • getAsMap

        @Internal
        java.util.SortedMap<java.lang.String,​T> getAsMap()
        Description copied from interface: NamedDomainObjectCollection

        Returns the objects in this collection, as a map from object name to object instance.

        The map is ordered by the natural ordering of the object names (i.e. keys).

        Specified by:
        getAsMap in interface NamedDomainObjectCollection<T extends Report>
        Returns:
        The objects. Returns an empty map if this collection is empty.
      • getNames

        @Internal
        java.util.SortedSet<java.lang.String> getNames()
        Description copied from interface: NamedDomainObjectCollection

        Returns the names of the objects in this collection as a Set of Strings.

        The set of names is in natural ordering.

        Specified by:
        getNames in interface NamedDomainObjectCollection<T extends Report>
        Returns:
        The names. Returns an empty set if this collection is empty.
      • isEmpty

        @Internal
        boolean isEmpty()
        Specified by:
        isEmpty in interface java.util.Collection<T extends Report>
        Specified by:
        isEmpty in interface java.util.Set<T extends Report>
      • getEnabledReports

        java.util.Map<java.lang.String,​T> getEnabledReports()
        Returns the enabled reports, keyed by report name.
        Since:
        4.7