public class QueueExceptionCondition
extends java.lang.Object
Modifier | Constructor and Description |
---|---|
|
QueueExceptionCondition(CalendarCondition cale,
Time from,
Time to,
int maxSlots,
int priority,
java.lang.String description)
Creates a new
QueueExceptionCondition . |
protected |
QueueExceptionCondition(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element row) |
Modifier and Type | Method and Description |
---|---|
CalendarCondition |
getCalendarCondition()
Returns the CalendarCondition.
|
java.lang.String |
getDescription() |
Time |
getFrom()
Returns the start of the validity period.
|
int |
getMaxSlots() |
int |
getPriority()
Priority with which this Queue should be executed in the Automation Engine.
|
Time |
getTo()
Returns the end of the validity period.
|
void |
setCalendarCondition(CalendarCondition cale)
Sets the calendar condition.
|
void |
setDescription(java.lang.String description)
Sets the description of this Queue Exception.
|
void |
setFrom(Time from)
Sets the start time.
|
void |
setMaxSlots(int maxSlots)
Sets the maximum number of slots for this Queue.
|
void |
setPriority(int priority)
Priority with which this Queue should be executed in the Automation Engine.
|
void |
setTo(Time to)
Sets the end time.
|
protected void |
store(com.uc4.util.XMLDocument doc,
org.w3c.dom.Element exceptionElement) |
java.lang.String |
toString() |
public QueueExceptionCondition(CalendarCondition cale, Time from, Time to, int maxSlots, int priority, java.lang.String description)
QueueExceptionCondition
.cale
- Calendar conditionfrom
- From timeto
- To timemaxSlots
- Maximum number of slotspriority
- Prioritydescription
- Descriptionprotected QueueExceptionCondition(com.uc4.util.XMLDocument doc, org.w3c.dom.Element row)
protected void store(com.uc4.util.XMLDocument doc, org.w3c.dom.Element exceptionElement)
public CalendarCondition getCalendarCondition()
public void setCalendarCondition(CalendarCondition cale)
cale
- CalendarConditionpublic Time getFrom()
public void setFrom(Time from)
from
- Time instancepublic Time getTo()
public void setTo(Time to)
to
- Time instancepublic int getMaxSlots()
-1
if unlimited.public void setMaxSlots(int maxSlots)
-1
can be used to set max slots to unlimited.maxSlots
- Positive Integer between 0 and 100000 or -1 for unlimitedpublic int getPriority()
public void setPriority(int priority)
priority
- Prioritypublic java.lang.String getDescription()
public void setDescription(java.lang.String description)
description
- String with max. 255 characterspublic java.lang.String toString()
toString
in class java.lang.Object