Class TaskTypeUtil
- java.lang.Object
-
- com.evolveum.midpoint.schema.util.task.TaskTypeUtil
-
public class TaskTypeUtil extends Object
TODO
-
-
Field Summary
Fields Modifier and Type Field Description static longNOW
-
Constructor Summary
Constructors Constructor Description TaskTypeUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static StringcreateScheduledToRunAgain(TaskType task, List<Object> localizationObject)static @NotNull TaskRecurrenceTypegetEffectiveRecurrence(@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 LonggetScheduledToStartAgain(TaskType task)static @Nullable TaskRecurrenceTypegetSpecifiedRecurrence(@NotNull TaskType task)Determines recurrence that is explicitly specified for a task: either "new" or "legacy" variant.static booleanisAutoScalingDisabled(TaskType task)static booleanisTaskRecurring(@NotNull TaskType task)
-
-
-
Field Detail
-
NOW
public static final long NOW
- See Also:
- Constant Field Values
-
-
Method Detail
-
createScheduledToRunAgain
public static String createScheduledToRunAgain(TaskType task, List<Object> localizationObject)
-
isAutoScalingDisabled
public static boolean isAutoScalingDisabled(TaskType task)
-
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
public static boolean isTaskRecurring(@NotNull @NotNull TaskType task)
-
-