Class TaskTypeUtil
java.lang.Object
com.evolveum.midpoint.schema.util.task.TaskTypeUtil
TODO
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
createScheduledToRunAgain
(TaskType task, List<Object> localizationObject) static @NotNull TaskRecurrenceType
getEffectiveRecurrence
(@NotNull TaskType task) Determines effective value of task recurrence flag: if set explicitly (either new or legacy variant) we use that one, otherwise we use schedule.interval/cronLikePattern presence.static Long
static @Nullable TaskRecurrenceType
getSpecifiedRecurrence
(@NotNull TaskType task) Determines recurrence that is explicitly specified for a task: either "new" or "legacy" variant.static boolean
static boolean
isTaskRecurring
(@NotNull TaskType task)
-
Field Details
-
NOW
public static final long NOW- See Also:
-
-
Constructor Details
-
TaskTypeUtil
public TaskTypeUtil()
-
-
Method Details
-
createScheduledToRunAgain
-
getScheduledToStartAgain
-
isAutoScalingDisabled
-
getSpecifiedRecurrence
@Nullable public static @Nullable TaskRecurrenceType getSpecifiedRecurrence(@NotNull @NotNull TaskType task) Determines recurrence that is explicitly specified for a task: either "new" or "legacy" variant. -
getEffectiveRecurrence
@NotNull public static @NotNull TaskRecurrenceType getEffectiveRecurrence(@NotNull @NotNull TaskType task) Determines effective value of task recurrence flag: if set explicitly (either new or legacy variant) we use that one, otherwise we use schedule.interval/cronLikePattern presence. -
isTaskRecurring
-