public class ReportingJob extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
TYPE_DAILY |
static int |
TYPE_MONTHLY |
static int |
TYPE_ONCE |
static int |
TYPE_WEEKLY |
| Constructor and Description |
|---|
ReportingJob(org.netxms.base.NXCPMessage msg,
long varId)
Create reportingJob object from NXCP message
|
ReportingJob(UUID reportId)
Create reportingJob
|
| Modifier and Type | Method and Description |
|---|---|
String |
getComments()
Get comments
|
int |
getDaysOfMonth()
Get days of month bit mask
|
int |
getDaysOfWeek()
Get days of week bit mask
|
List<String> |
getEmailRecipients() |
UUID |
getJobId()
Get job ID
|
ReportRenderFormat |
getRenderFormat() |
UUID |
getReportId()
Get unique report ID
|
Date |
getStartTime()
Get job start time
|
int |
getType()
Get job type
|
int |
getUserId()
Get user ID
|
boolean |
isNotifyOnCompletion()
Check if notification on completion is on
|
void |
setComments(String comments)
Set comments
|
void |
setDaysOfMonth(int daysOfMonth)
Set days of month bit mask
|
void |
setDaysOfWeek(int daysOfWeek)
Set days of week bit mask
|
void |
setEmailRecipients(List<String> emailRecipients) |
void |
setJobId(UUID jobId)
Set job ID
|
void |
setNotifyOnCompletion(boolean notifyOnCompletion)
Set notification on completion flag
|
void |
setRenderFormat(ReportRenderFormat renderFormat) |
void |
setReportId(UUID reportId)
Set unique report ID
|
void |
setStartTime(Date startTime)
Set job start time
|
void |
setType(int type)
Set job type
|
String |
toString() |
public static final int TYPE_ONCE
public static final int TYPE_DAILY
public static final int TYPE_WEEKLY
public static final int TYPE_MONTHLY
public ReportingJob(UUID reportId)
reportId - report idpublic ReportingJob(org.netxms.base.NXCPMessage msg,
long varId)
msg - varId - base field idpublic ReportRenderFormat getRenderFormat()
public void setRenderFormat(ReportRenderFormat renderFormat)
renderFormat - the renderFormat to setpublic void setEmailRecipients(List<String> emailRecipients)
emailRecipients - the emailRecipients to setpublic UUID getReportId()
public void setReportId(UUID reportId)
reportId - report unique IDpublic UUID getJobId()
public void setJobId(UUID jobId)
jobId - job IDpublic int getDaysOfWeek()
public void setDaysOfWeek(int daysOfWeek)
daysOfWeek - new days of week bit maskpublic int getDaysOfMonth()
public void setDaysOfMonth(int daysOfMonth)
daysOfMonth - new days of month bit maskpublic int getUserId()
public int getType()
public void setType(int type)
type - new job typepublic Date getStartTime()
public void setStartTime(Date startTime)
startTime - job start timepublic String getComments()
public void setComments(String comments)
comments - commentspublic boolean isNotifyOnCompletion()
public void setNotifyOnCompletion(boolean notifyOnCompletion)
notifyOnCompletion - new notification on completion flagCopyright © 2018. All rights reserved.