Class Report
- java.lang.Object
-
- org.opennms.netmgt.config.reportd.Report
-
- All Implemented Interfaces:
Serializable
public class Report extends Object implements 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(String recipient)
boolean
equals(Object obj)
String
getCronSchedule()
Optional<String>
getMailer()
List<Parameter>
getParameters()
List<String>
getRecipients()
String
getReportEngine()
String
getReportFormat()
String
getReportName()
String
getReportTemplate()
int
hashCode()
boolean
removeParameter(Parameter parameter)
boolean
removeRecipient(String recipient)
void
setCronSchedule(String cronSchedule)
void
setMailer(String mailer)
void
setParameters(List<Parameter> parameters)
void
setRecipients(List<String> recipients)
void
setReportEngine(String reportEngine)
void
setReportFormat(String reportFormat)
void
setReportName(String reportName)
void
setReportTemplate(String reportTemplate)
-
-
-
Method Detail
-
getReportTemplate
public String getReportTemplate()
-
setReportTemplate
public void setReportTemplate(String reportTemplate)
-
getReportName
public String getReportName()
-
setReportName
public void setReportName(String reportName)
-
getReportFormat
public String getReportFormat()
-
setReportFormat
public void setReportFormat(String reportFormat)
-
getReportEngine
public String getReportEngine()
-
setReportEngine
public void setReportEngine(String reportEngine)
-
getCronSchedule
public String getCronSchedule()
-
setCronSchedule
public void setCronSchedule(String cronSchedule)
-
addRecipient
public void addRecipient(String recipient)
-
removeRecipient
public boolean removeRecipient(String recipient)
-
setMailer
public void setMailer(String mailer)
-
addParameter
public void addParameter(Parameter parameter)
-
removeParameter
public boolean removeParameter(Parameter parameter)
-
-