public enum TaskRecurrence extends Enum<TaskRecurrence>
Enum Constant and Description |
---|
RECURRING
TODO
The task is executed as many times as the schedule specifies.
|
SINGLE
TODO
The task is executed only once, at the first moment that the scedule specifies.
|
Modifier and Type | Method and Description |
---|---|
static TaskRecurrence |
fromTaskType(com.evolveum.midpoint.xml.ns._public.common.common_3.TaskRecurrenceType recurrenceType) |
com.evolveum.midpoint.xml.ns._public.common.common_3.TaskRecurrenceType |
toTaskType() |
static TaskRecurrence |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TaskRecurrence[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TaskRecurrence SINGLE
public static final TaskRecurrence RECURRING
public static TaskRecurrence[] values()
for (TaskRecurrence c : TaskRecurrence.values()) System.out.println(c);
public static TaskRecurrence valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static TaskRecurrence fromTaskType(com.evolveum.midpoint.xml.ns._public.common.common_3.TaskRecurrenceType recurrenceType)
public com.evolveum.midpoint.xml.ns._public.common.common_3.TaskRecurrenceType toTaskType()
Copyright © 2016 evolveum. All rights reserved.