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 long
NOW
-
Constructor Summary
Constructors Constructor Description TaskTypeUtil()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static 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
getScheduledToStartAgain(TaskType task)
static @Nullable TaskRecurrenceType
getSpecifiedRecurrence(@NotNull TaskType task)
Determines recurrence that is explicitly specified for a task: either "new" or "legacy" variant.static boolean
isAutoScalingDisabled(TaskType task)
static boolean
isTaskRecurring(@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)
-
-