Class ResourceTaskCreator<T>
java.lang.Object
com.evolveum.midpoint.gui.impl.page.admin.resource.component.ResourceTaskCreator<T>
- Type Parameters:
T- The type of optional task configuration.
Creates resource-related tasks: import, reconciliation, live sync, and others.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceCreates resource task creator for given resource. -
Method Summary
Modifier and TypeMethodDescription@NotNull TaskTypecreate(@NotNull Task task, @NotNull OperationResult result) static <T> ResourceTaskCreator.FlavoredResourceTaskCreator<T>of(ResourceTaskFlavor<T> flavor, PageBase pageBase) @NotNull Stringsubmit(@NotNull Task task, @NotNull OperationResult result) withConfiguration(T workConfiguration) withCoordinates(ShadowKindType kind, String intent, QName objectClass) withCoordinates(QName objectClass) withExecutionMode(ExecutionModeType executionMode) withPredefinedConfiguration(PredefinedConfigurationType predefinedConfiguration) withSearchOptions(SelectorQualifiedGetOptionsType searchOptions) withSimulationResultDefinition(SimulationDefinitionType simulationDefinition)
-
Method Details
-
of
public static <T> ResourceTaskCreator.FlavoredResourceTaskCreator<T> of(ResourceTaskFlavor<T> flavor, PageBase pageBase) -
ownedByCurrentUser
- Throws:
NotLoggedInException
-
withCoordinates
public ResourceTaskCreator<T> withCoordinates(ShadowKindType kind, String intent, QName objectClass) -
withCoordinates
-
withExecutionMode
-
withPredefinedConfiguration
public ResourceTaskCreator<T> withPredefinedConfiguration(PredefinedConfigurationType predefinedConfiguration) -
withSubmissionOptions
-
withSimulationResultDefinition
public ResourceTaskCreator<T> withSimulationResultDefinition(SimulationDefinitionType simulationDefinition) -
withSearchOptions
-
withQuery
-
withConfiguration
-
submit
@NotNull public @NotNull String submit(@NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws CommonException - Throws:
CommonException
-
create
@NotNull public @NotNull TaskType create(@NotNull @NotNull Task task, @NotNull @NotNull OperationResult result) throws CommonException - Throws:
CommonException
-