Class PackageReport


  • public class PackageReport
    extends Object
    Represents a report that is configured on a specific package.
    Version:
    $Id: $
    Author:
    DJ Gregor
    See Also:
    Report, StatsdPackage
    • Constructor Detail

      • PackageReport

        public PackageReport()
    • Method Detail

      • isEnabled

        public boolean isEnabled()

        isEnabled

        Returns:
        a boolean.
      • setEnabled

        public void setEnabled​(boolean enabled)

        setEnabled

        Parameters:
        enabled - a boolean.
      • setParameters

        public void setParameters​(Map<String,​String> parameters)

        setParameters

        Parameters:
        parameters - a LinkedHashMap object.
      • addParameter

        public void addParameter​(String key,
                                 String value)

        addParameter

        Parameters:
        key - a String object.
        value - a String object.
      • getSchedule

        public String getSchedule()

        getSchedule

        Returns:
        a String object.
      • setSchedule

        public void setSchedule​(String schedule)

        setSchedule

        Parameters:
        schedule - a String object.
      • getReport

        public Report getReport()

        getReport

        Returns:
        a Report object.
      • setReport

        public void setReport​(Report report)

        setReport

        Parameters:
        report - a Report object.
      • getDescription

        public String getDescription()

        getDescription

        Returns:
        a String object.
      • setDescription

        public void setDescription​(String description)

        setDescription

        Parameters:
        description - a String object.
      • getRetainInterval

        public Long getRetainInterval()

        getRetainInterval

        Returns:
        a Long object.
      • setRetainInterval

        public void setRetainInterval​(Long retainInterval)

        setRetainInterval

        Parameters:
        retainInterval - a Long object.