Class ScheduleType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ScheduleType
-
- All Implemented Interfaces:
Containerable
,DebugDumpable
,Serializable
,Cloneable
public class ScheduleType extends Object implements Serializable, Cloneable, Containerable
Task schedule. Specifies when and how often something should happen.Java class for ScheduleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ScheduleType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="recurrence" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}TaskRecurrenceType" minOccurs="0"/> <element name="earliestStartTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="latestStartTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="latestFinishTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/> <element name="interval" type="{http://www.w3.org/2001/XMLSchema}int" minOccurs="0"/> <element name="cronLikePattern" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="misfireAction" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MisfireActionType" minOccurs="0"/> </sequence> <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}long" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_CRON_LIKE_PATTERN
static ItemName
F_EARLIEST_START_TIME
static ItemName
F_INTERVAL
static ItemName
F_LATEST_FINISH_TIME
static ItemName
F_LATEST_START_TIME
static ItemName
F_MISFIRE_ACTION
static ItemName
F_RECURRENCE
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description ScheduleType()
ScheduleType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_RECURRENCE
public static final ItemName F_RECURRENCE
-
F_EARLIEST_START_TIME
public static final ItemName F_EARLIEST_START_TIME
-
F_LATEST_START_TIME
public static final ItemName F_LATEST_START_TIME
-
F_LATEST_FINISH_TIME
public static final ItemName F_LATEST_FINISH_TIME
-
F_INTERVAL
public static final ItemName F_INTERVAL
-
F_CRON_LIKE_PATTERN
public static final ItemName F_CRON_LIKE_PATTERN
-
F_MISFIRE_ACTION
public static final ItemName F_MISFIRE_ACTION
-
-
Constructor Detail
-
ScheduleType
public ScheduleType()
-
ScheduleType
public ScheduleType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValue
in interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:Containerable
Setup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValue
in interfaceContainerable
-
end
public <X> X end()
-
getRecurrence
public TaskRecurrenceType getRecurrence()
-
setRecurrence
public void setRecurrence(TaskRecurrenceType value)
-
getEarliestStartTime
public XMLGregorianCalendar getEarliestStartTime()
-
setEarliestStartTime
public void setEarliestStartTime(XMLGregorianCalendar value)
-
getLatestStartTime
public XMLGregorianCalendar getLatestStartTime()
-
setLatestStartTime
public void setLatestStartTime(XMLGregorianCalendar value)
-
getLatestFinishTime
public XMLGregorianCalendar getLatestFinishTime()
-
setLatestFinishTime
public void setLatestFinishTime(XMLGregorianCalendar value)
-
getInterval
public Integer getInterval()
-
setInterval
public void setInterval(Integer value)
-
getCronLikePattern
public String getCronLikePattern()
-
setCronLikePattern
public void setCronLikePattern(String value)
-
getMisfireAction
public MisfireActionType getMisfireAction()
-
setMisfireAction
public void setMisfireAction(MisfireActionType value)
-
getId
public Long getId()
-
setId
public void setId(Long value)
-
recurrence
public ScheduleType recurrence(TaskRecurrenceType value)
-
earliestStartTime
public ScheduleType earliestStartTime(XMLGregorianCalendar value)
-
earliestStartTime
public ScheduleType earliestStartTime(String value)
-
latestStartTime
public ScheduleType latestStartTime(XMLGregorianCalendar value)
-
latestStartTime
public ScheduleType latestStartTime(String value)
-
latestFinishTime
public ScheduleType latestFinishTime(XMLGregorianCalendar value)
-
latestFinishTime
public ScheduleType latestFinishTime(String value)
-
interval
public ScheduleType interval(Integer value)
-
cronLikePattern
public ScheduleType cronLikePattern(String value)
-
misfireAction
public ScheduleType misfireAction(MisfireActionType value)
-
id
public ScheduleType id(Long value)
-
clone
public ScheduleType clone()
-
-