|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.quartzdesk.service.types.v4_0.scheduler.NotificationRule
public abstract class NotificationRule
Base type for all notification rules.
Java class for NotificationRule complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="NotificationRule">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="id" type="{http://www.w3.org/2001/XMLSchema}long" minOccurs="0"/>
<element name="createdAt" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="updatedAt" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
<element name="name" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="description" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="severity" type="{http://service.quartzdesk.com/types/v4_0/scheduler}NotificationSeverity"/>
<element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
<element name="enabledOnWeekday" type="{http://service.quartzdesk.com/types/v4_0/enums}Weekday" maxOccurs="unbounded" minOccurs="0"/>
<element name="enabledFromTime" type="{http://service.quartzdesk.com/types/v4_0/common}DayTime" minOccurs="0"/>
<element name="enabledToTime" type="{http://service.quartzdesk.com/types/v4_0/common}DayTime" minOccurs="0"/>
<element name="schedulerObjectName" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="messageChannelProfileId" type="{http://www.w3.org/2001/XMLSchema}long"/>
<element name="messageToAddr" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="messageSubjectTemplate" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="messageBodyTemplate" type="{http://www.w3.org/2001/XMLSchema}string"/>
<element name="lastErrorDesc" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
<element name="lastErrorAt" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
</sequence>
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected Calendar |
createdAt
|
protected String |
description
|
protected Boolean |
enabled
|
protected DayTime |
enabledFromTime
|
protected List<Weekday> |
enabledOnWeekday
|
protected DayTime |
enabledToTime
|
protected Long |
id
|
protected Calendar |
lastErrorAt
|
protected String |
lastErrorDesc
|
protected String |
messageBodyTemplate
|
protected Long |
messageChannelProfileId
|
protected String |
messageSubjectTemplate
|
protected String |
messageToAddr
|
protected String |
name
|
protected String |
schedulerObjectName
|
protected NotificationSeverity |
severity
|
protected Calendar |
updatedAt
|
| Constructor Summary | |
|---|---|
NotificationRule()
|
|
| Method Summary | |
|---|---|
Calendar |
getCreatedAt()
Gets the value of the createdAt property. |
String |
getDescription()
Gets the value of the description property. |
Boolean |
getEnabled()
|
DayTime |
getEnabledFromTime()
Gets the value of the enabledFromTime property. |
List<Weekday> |
getEnabledOnWeekday()
Gets the value of the enabledOnWeekday property. |
DayTime |
getEnabledToTime()
Gets the value of the enabledToTime property. |
Long |
getId()
Gets the value of the id property. |
Calendar |
getLastErrorAt()
Gets the value of the lastErrorAt property. |
String |
getLastErrorDesc()
Gets the value of the lastErrorDesc property. |
String |
getMessageBodyTemplate()
Gets the value of the messageBodyTemplate property. |
Long |
getMessageChannelProfileId()
Gets the value of the messageChannelProfileId property. |
String |
getMessageSubjectTemplate()
Gets the value of the messageSubjectTemplate property. |
String |
getMessageToAddr()
Gets the value of the messageToAddr property. |
String |
getName()
Gets the value of the name property. |
String |
getSchedulerObjectName()
Gets the value of the schedulerObjectName property. |
NotificationSeverity |
getSeverity()
Gets the value of the severity property. |
Calendar |
getUpdatedAt()
Gets the value of the updatedAt property. |
Boolean |
isEnabled()
Gets the value of the enabled property. |
void |
setCreatedAt(Calendar value)
Sets the value of the createdAt property. |
void |
setDescription(String value)
Sets the value of the description property. |
void |
setEnabled(Boolean value)
Sets the value of the enabled property. |
void |
setEnabledFromTime(DayTime value)
Sets the value of the enabledFromTime property. |
void |
setEnabledOnWeekday(List<Weekday> enabledOnWeekday)
Sets the value of the enabledOnWeekday property. |
void |
setEnabledToTime(DayTime value)
Sets the value of the enabledToTime property. |
void |
setId(Long value)
Sets the value of the id property. |
void |
setLastErrorAt(Calendar value)
Sets the value of the lastErrorAt property. |
void |
setLastErrorDesc(String value)
Sets the value of the lastErrorDesc property. |
void |
setMessageBodyTemplate(String value)
Sets the value of the messageBodyTemplate property. |
void |
setMessageChannelProfileId(Long value)
Sets the value of the messageChannelProfileId property. |
void |
setMessageSubjectTemplate(String value)
Sets the value of the messageSubjectTemplate property. |
void |
setMessageToAddr(String value)
Sets the value of the messageToAddr property. |
void |
setName(String value)
Sets the value of the name property. |
void |
setSchedulerObjectName(String value)
Sets the value of the schedulerObjectName property. |
void |
setSeverity(NotificationSeverity value)
Sets the value of the severity property. |
void |
setUpdatedAt(Calendar value)
Sets the value of the updatedAt property. |
NotificationRule |
withCreatedAt(Calendar value)
|
NotificationRule |
withDescription(String value)
|
NotificationRule |
withEnabled(Boolean value)
|
NotificationRule |
withEnabledFromTime(DayTime value)
|
NotificationRule |
withEnabledOnWeekday(Collection<Weekday> values)
|
NotificationRule |
withEnabledOnWeekday(Weekday... values)
|
NotificationRule |
withEnabledToTime(DayTime value)
|
NotificationRule |
withId(Long value)
|
NotificationRule |
withLastErrorAt(Calendar value)
|
NotificationRule |
withLastErrorDesc(String value)
|
NotificationRule |
withMessageBodyTemplate(String value)
|
NotificationRule |
withMessageChannelProfileId(Long value)
|
NotificationRule |
withMessageSubjectTemplate(String value)
|
NotificationRule |
withMessageToAddr(String value)
|
NotificationRule |
withName(String value)
|
NotificationRule |
withSchedulerObjectName(String value)
|
NotificationRule |
withSeverity(NotificationSeverity value)
|
NotificationRule |
withUpdatedAt(Calendar value)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Long id
protected Calendar createdAt
protected Calendar updatedAt
protected String name
protected String description
protected NotificationSeverity severity
protected Boolean enabled
protected List<Weekday> enabledOnWeekday
protected DayTime enabledFromTime
protected DayTime enabledToTime
protected String schedulerObjectName
protected Long messageChannelProfileId
protected String messageToAddr
protected String messageSubjectTemplate
protected String messageBodyTemplate
protected String lastErrorDesc
protected Calendar lastErrorAt
| Constructor Detail |
|---|
public NotificationRule()
| Method Detail |
|---|
public Long getId()
Stringpublic void setId(Long value)
value - allowed object is
Stringpublic Calendar getCreatedAt()
Stringpublic void setCreatedAt(Calendar value)
value - allowed object is
Stringpublic Calendar getUpdatedAt()
Stringpublic void setUpdatedAt(Calendar value)
value - allowed object is
Stringpublic String getName()
Stringpublic void setName(String value)
value - allowed object is
Stringpublic String getDescription()
Stringpublic void setDescription(String value)
value - allowed object is
Stringpublic NotificationSeverity getSeverity()
NotificationSeveritypublic void setSeverity(NotificationSeverity value)
value - allowed object is
NotificationSeveritypublic Boolean isEnabled()
Stringpublic void setEnabled(Boolean value)
value - allowed object is
Stringpublic List<Weekday> getEnabledOnWeekday()
This accessor method returns a reference to the live list,
not a snapshot. Therefore any modification you make to the
returned list will be present inside the JAXB object.
This is why there is not a set method for the enabledOnWeekday property.
For example, to add a new item, do as follows:
getEnabledOnWeekday().add(newItem);
Objects of the following type(s) are allowed in the list
Weekday
public DayTime getEnabledFromTime()
DayTimepublic void setEnabledFromTime(DayTime value)
value - allowed object is
DayTimepublic DayTime getEnabledToTime()
DayTimepublic void setEnabledToTime(DayTime value)
value - allowed object is
DayTimepublic String getSchedulerObjectName()
Stringpublic void setSchedulerObjectName(String value)
value - allowed object is
Stringpublic Long getMessageChannelProfileId()
Stringpublic void setMessageChannelProfileId(Long value)
value - allowed object is
Stringpublic String getMessageToAddr()
Stringpublic void setMessageToAddr(String value)
value - allowed object is
Stringpublic String getMessageSubjectTemplate()
Stringpublic void setMessageSubjectTemplate(String value)
value - allowed object is
Stringpublic String getMessageBodyTemplate()
Stringpublic void setMessageBodyTemplate(String value)
value - allowed object is
Stringpublic String getLastErrorDesc()
Stringpublic void setLastErrorDesc(String value)
value - allowed object is
Stringpublic Calendar getLastErrorAt()
Stringpublic void setLastErrorAt(Calendar value)
value - allowed object is
Stringpublic Boolean getEnabled()
public NotificationRule withId(Long value)
public NotificationRule withCreatedAt(Calendar value)
public NotificationRule withUpdatedAt(Calendar value)
public NotificationRule withName(String value)
public NotificationRule withDescription(String value)
public NotificationRule withSeverity(NotificationSeverity value)
public NotificationRule withEnabled(Boolean value)
public NotificationRule withEnabledOnWeekday(Weekday... values)
public NotificationRule withEnabledOnWeekday(Collection<Weekday> values)
public NotificationRule withEnabledFromTime(DayTime value)
public NotificationRule withEnabledToTime(DayTime value)
public NotificationRule withSchedulerObjectName(String value)
public NotificationRule withMessageChannelProfileId(Long value)
public NotificationRule withMessageToAddr(String value)
public NotificationRule withMessageSubjectTemplate(String value)
public NotificationRule withMessageBodyTemplate(String value)
public NotificationRule withLastErrorDesc(String value)
public NotificationRule withLastErrorAt(Calendar value)
public void setEnabledOnWeekday(List<Weekday> enabledOnWeekday)
enabledOnWeekday - allowed object is
Weekday
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||