Package com.evolveum.midpoint.model.api
Class ActivityCustomization
java.lang.Object
com.evolveum.midpoint.model.api.ActivityCustomization
- Direct Known Subclasses:
ActivityCustomization.None
,ActivityCustomization.ObjectQuery
Customization of an activity in a task template; e.g. for
ModelInteractionService.submitTaskFromTemplate(String, ActivityCustomization, Task, OperationResult)
.-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
No change.static class
Replacing the set of objects in the root activity. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionabstract @NotNull ActivityDefinitionType
Applies the customization: returns the (modified or created) activity def.static @NotNull ActivityCustomization
forOids
(@NotNull Collection<String> oids) static @NotNull ActivityCustomization
static @NotNull ActivityCustomization
none()
-
Constructor Details
-
ActivityCustomization
public ActivityCustomization()
-
-
Method Details
-
none
-
forQuery
-
forOids
@NotNull public static @NotNull ActivityCustomization forOids(@NotNull @NotNull Collection<String> oids) -
applyTo
@NotNull public abstract @NotNull ActivityDefinitionType applyTo(@NotNull @NotNull TaskType taskTemplate) Applies the customization: returns the (modified or created) activity def. May directly modify the task template.
-