public class QueueExceptionCondition extends Object
Constructor and Description |
---|
QueueExceptionCondition(CalendarCondition cale,
Time from,
Time to,
int maxSlots,
int priority,
String description)
Creates a new
QueueExceptionCondition . |
Modifier and Type | Method and Description |
---|---|
CalendarCondition |
getCalendarCondition()
Returns the CalendarCondition.
|
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(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.
|
String |
toString() |
public QueueExceptionCondition(CalendarCondition cale, Time from, Time to, int maxSlots, int priority, String description)
QueueExceptionCondition
.cale
- Calendar conditionfrom
- From timeto
- To timemaxSlots
- Maximum number of slotspriority
- Prioritydescription
- Descriptionpublic 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 String getDescription()
public void setDescription(String description)
description
- String with max. 255 charactersCopyright © 2021. All rights reserved.