Class Report
- java.lang.Object
-
- org.opennms.netmgt.config.reportd.Report
-
- All Implemented Interfaces:
java.io.Serializable
public class Report extends java.lang.Object implements java.io.Serializable
Defines an report schedule with a cron expression http://www.quartz-scheduler.org/documentation/quartz-1.x/tutorials/crontrigger Field Name Allowed Values Allowed Special Characters Seconds 0-59 , - / Minutes 0-59 , - / Hours 0-23 , - / Day-of-month 1-31 , - ? / L W C Month 1-12 or JAN-DEC , - / Day-of-Week 1-7 or SUN-SAT , - ? / L C # Year (Opt) empty, 1970-2099 , - /- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Report()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addParameter(Parameter parameter)
void
addRecipient(java.lang.String recipient)
boolean
equals(java.lang.Object obj)
java.lang.String
getCronSchedule()
java.util.Optional<java.lang.String>
getMailer()
java.util.List<Parameter>
getParameters()
java.util.List<java.lang.String>
getRecipients()
java.lang.String
getReportEngine()
java.lang.String
getReportFormat()
java.lang.String
getReportName()
java.lang.String
getReportTemplate()
int
hashCode()
boolean
removeParameter(Parameter parameter)
boolean
removeRecipient(java.lang.String recipient)
void
setCronSchedule(java.lang.String cronSchedule)
void
setMailer(java.lang.String mailer)
void
setParameters(java.util.List<Parameter> parameters)
void
setRecipients(java.util.List<java.lang.String> recipients)
void
setReportEngine(java.lang.String reportEngine)
void
setReportFormat(java.lang.String reportFormat)
void
setReportName(java.lang.String reportName)
void
setReportTemplate(java.lang.String reportTemplate)
-
-
-
Method Detail
-
getReportTemplate
public java.lang.String getReportTemplate()
-
setReportTemplate
public void setReportTemplate(java.lang.String reportTemplate)
-
getReportName
public java.lang.String getReportName()
-
setReportName
public void setReportName(java.lang.String reportName)
-
getReportFormat
public java.lang.String getReportFormat()
-
setReportFormat
public void setReportFormat(java.lang.String reportFormat)
-
getReportEngine
public java.lang.String getReportEngine()
-
setReportEngine
public void setReportEngine(java.lang.String reportEngine)
-
getCronSchedule
public java.lang.String getCronSchedule()
-
setCronSchedule
public void setCronSchedule(java.lang.String cronSchedule)
-
getRecipients
public java.util.List<java.lang.String> getRecipients()
-
setRecipients
public void setRecipients(java.util.List<java.lang.String> recipients)
-
addRecipient
public void addRecipient(java.lang.String recipient)
-
removeRecipient
public boolean removeRecipient(java.lang.String recipient)
-
getMailer
public java.util.Optional<java.lang.String> getMailer()
-
setMailer
public void setMailer(java.lang.String mailer)
-
getParameters
public java.util.List<Parameter> getParameters()
-
setParameters
public void setParameters(java.util.List<Parameter> parameters)
-
addParameter
public void addParameter(Parameter parameter)
-
removeParameter
public boolean removeParameter(Parameter parameter)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
-