com.quartzdesk.service.types.v5_0.scheduler
Class NotificationRule

java.lang.Object
  extended by com.quartzdesk.service.types.v5_0.scheduler.NotificationRule
Direct Known Subclasses:
ExecNotificationRule

public abstract class NotificationRule
extends Object

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/v5_0/scheduler}NotificationSeverity"/>
         <element name="enabled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
         <element name="enabledOnWeekday" type="{http://service.quartzdesk.com/types/v5_0/enums}Weekday" maxOccurs="unbounded" minOccurs="0"/>
         <element name="enabledFromTime" type="{http://service.quartzdesk.com/types/v5_0/common}DayTime" minOccurs="0"/>
         <element name="enabledToTime" type="{http://service.quartzdesk.com/types/v5_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

id

protected Long id

createdAt

protected Calendar createdAt

updatedAt

protected Calendar updatedAt

name

protected String name

description

protected String description

severity

protected NotificationSeverity severity

enabled

protected Boolean enabled

enabledOnWeekday

protected List<Weekday> enabledOnWeekday

enabledFromTime

protected DayTime enabledFromTime

enabledToTime

protected DayTime enabledToTime

schedulerObjectName

protected String schedulerObjectName

messageChannelProfileId

protected Long messageChannelProfileId

messageToAddr

protected String messageToAddr

messageSubjectTemplate

protected String messageSubjectTemplate

messageBodyTemplate

protected String messageBodyTemplate

lastErrorDesc

protected String lastErrorDesc

lastErrorAt

protected Calendar lastErrorAt
Constructor Detail

NotificationRule

public NotificationRule()
Method Detail

getId

public Long getId()
Gets the value of the id property.

Returns:
possible object is String

setId

public void setId(Long value)
Sets the value of the id property.

Parameters:
value - allowed object is String

getCreatedAt

public Calendar getCreatedAt()
Gets the value of the createdAt property.

Returns:
possible object is String

setCreatedAt

public void setCreatedAt(Calendar value)
Sets the value of the createdAt property.

Parameters:
value - allowed object is String

getUpdatedAt

public Calendar getUpdatedAt()
Gets the value of the updatedAt property.

Returns:
possible object is String

setUpdatedAt

public void setUpdatedAt(Calendar value)
Sets the value of the updatedAt property.

Parameters:
value - allowed object is String

getName

public String getName()
Gets the value of the name property.

Returns:
possible object is String

setName

public void setName(String value)
Sets the value of the name property.

Parameters:
value - allowed object is String

getDescription

public String getDescription()
Gets the value of the description property.

Returns:
possible object is String

setDescription

public void setDescription(String value)
Sets the value of the description property.

Parameters:
value - allowed object is String

getSeverity

public NotificationSeverity getSeverity()
Gets the value of the severity property.

Returns:
possible object is NotificationSeverity

setSeverity

public void setSeverity(NotificationSeverity value)
Sets the value of the severity property.

Parameters:
value - allowed object is NotificationSeverity

isEnabled

public Boolean isEnabled()
Gets the value of the enabled property.

Returns:
possible object is String

setEnabled

public void setEnabled(Boolean value)
Sets the value of the enabled property.

Parameters:
value - allowed object is String

getEnabledOnWeekday

public List<Weekday> getEnabledOnWeekday()
Gets the value of the enabledOnWeekday property.

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


getEnabledFromTime

public DayTime getEnabledFromTime()
Gets the value of the enabledFromTime property.

Returns:
possible object is DayTime

setEnabledFromTime

public void setEnabledFromTime(DayTime value)
Sets the value of the enabledFromTime property.

Parameters:
value - allowed object is DayTime

getEnabledToTime

public DayTime getEnabledToTime()
Gets the value of the enabledToTime property.

Returns:
possible object is DayTime

setEnabledToTime

public void setEnabledToTime(DayTime value)
Sets the value of the enabledToTime property.

Parameters:
value - allowed object is DayTime

getSchedulerObjectName

public String getSchedulerObjectName()
Gets the value of the schedulerObjectName property.

Returns:
possible object is String

setSchedulerObjectName

public void setSchedulerObjectName(String value)
Sets the value of the schedulerObjectName property.

Parameters:
value - allowed object is String

getMessageChannelProfileId

public Long getMessageChannelProfileId()
Gets the value of the messageChannelProfileId property.

Returns:
possible object is String

setMessageChannelProfileId

public void setMessageChannelProfileId(Long value)
Sets the value of the messageChannelProfileId property.

Parameters:
value - allowed object is String

getMessageToAddr

public String getMessageToAddr()
Gets the value of the messageToAddr property.

Returns:
possible object is String

setMessageToAddr

public void setMessageToAddr(String value)
Sets the value of the messageToAddr property.

Parameters:
value - allowed object is String

getMessageSubjectTemplate

public String getMessageSubjectTemplate()
Gets the value of the messageSubjectTemplate property.

Returns:
possible object is String

setMessageSubjectTemplate

public void setMessageSubjectTemplate(String value)
Sets the value of the messageSubjectTemplate property.

Parameters:
value - allowed object is String

getMessageBodyTemplate

public String getMessageBodyTemplate()
Gets the value of the messageBodyTemplate property.

Returns:
possible object is String

setMessageBodyTemplate

public void setMessageBodyTemplate(String value)
Sets the value of the messageBodyTemplate property.

Parameters:
value - allowed object is String

getLastErrorDesc

public String getLastErrorDesc()
Gets the value of the lastErrorDesc property.

Returns:
possible object is String

setLastErrorDesc

public void setLastErrorDesc(String value)
Sets the value of the lastErrorDesc property.

Parameters:
value - allowed object is String

getLastErrorAt

public Calendar getLastErrorAt()
Gets the value of the lastErrorAt property.

Returns:
possible object is String

setLastErrorAt

public void setLastErrorAt(Calendar value)
Sets the value of the lastErrorAt property.

Parameters:
value - allowed object is String

getEnabled

public Boolean getEnabled()

withId

public NotificationRule withId(Long value)

withCreatedAt

public NotificationRule withCreatedAt(Calendar value)

withUpdatedAt

public NotificationRule withUpdatedAt(Calendar value)

withName

public NotificationRule withName(String value)

withDescription

public NotificationRule withDescription(String value)

withSeverity

public NotificationRule withSeverity(NotificationSeverity value)

withEnabled

public NotificationRule withEnabled(Boolean value)

withEnabledOnWeekday

public NotificationRule withEnabledOnWeekday(Weekday... values)

withEnabledOnWeekday

public NotificationRule withEnabledOnWeekday(Collection<Weekday> values)

withEnabledFromTime

public NotificationRule withEnabledFromTime(DayTime value)

withEnabledToTime

public NotificationRule withEnabledToTime(DayTime value)

withSchedulerObjectName

public NotificationRule withSchedulerObjectName(String value)

withMessageChannelProfileId

public NotificationRule withMessageChannelProfileId(Long value)

withMessageToAddr

public NotificationRule withMessageToAddr(String value)

withMessageSubjectTemplate

public NotificationRule withMessageSubjectTemplate(String value)

withMessageBodyTemplate

public NotificationRule withMessageBodyTemplate(String value)

withLastErrorDesc

public NotificationRule withLastErrorDesc(String value)

withLastErrorAt

public NotificationRule withLastErrorAt(Calendar value)

setEnabledOnWeekday

public void setEnabledOnWeekday(List<Weekday> enabledOnWeekday)
Sets the value of the enabledOnWeekday property.

Parameters:
enabledOnWeekday - allowed object is Weekday


Copyright © 2013–2017 QuartzDesk.com. All rights reserved.