Class ResourceTaskCreator
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.resource.component.ResourceTaskCreator
Creates resource-related tasks: import, reconciliation, live sync, and maybe others in the future.
- See Also:
-
Method Summary
Modifier and TypeMethodDescription@NotNull TaskType
create
(@NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) static @NotNull ResourceTaskCreator
forResource
(@NotNull ResourceType resource, @NotNull PageBase pageBase) ofFlavor
(SynchronizationTaskFlavor flavor) Assuming not used along withwithArchetype(String)
@NotNull String
submit
(@NotNull com.evolveum.midpoint.task.api.Task task, @NotNull OperationResult result) withArchetype
(@Nullable String archetypeOid) Assuming not used along withofFlavor(SynchronizationTaskFlavor)
withCoordinates
(ShadowKindType kind, String intent, QName objectClass) withCoordinates
(QName objectClass) withExecutionMode
(ExecutionModeType executionMode) withPredefinedConfiguration
(PredefinedConfigurationType predefinedConfiguration) withSearchOptions
(SelectorQualifiedGetOptionsType searchOptions) withSimulationResultDefinition
(SimulationDefinitionType simulationDefinition)
-
Method Details
-
forResource
@NotNull public static @NotNull ResourceTaskCreator forResource(@NotNull @NotNull ResourceType resource, @NotNull @NotNull PageBase pageBase) -
withArchetype
Assuming not used along withofFlavor(SynchronizationTaskFlavor)
-
ofFlavor
Assuming not used along withwithArchetype(String)
-
ownedByCurrentUser
- Throws:
NotLoggedInException
-
withCoordinates
-
withCoordinates
-
withExecutionMode
-
withPredefinedConfiguration
public ResourceTaskCreator withPredefinedConfiguration(PredefinedConfigurationType predefinedConfiguration) -
withSubmissionOptions
-
withSimulationResultDefinition
public ResourceTaskCreator withSimulationResultDefinition(SimulationDefinitionType simulationDefinition) -
withSearchOptions
-
submit
@NotNull public @NotNull String submit(@NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) throws CommonException - Throws:
CommonException
-
create
@NotNull public @NotNull TaskType create(@NotNull @NotNull com.evolveum.midpoint.task.api.Task task, @NotNull @NotNull OperationResult result) throws CommonException - Throws:
CommonException
-