Class ActivityDefinitionBuilder
java.lang.Object
com.evolveum.midpoint.schema.util.task.ActivityDefinitionBuilder
Helps with creating 
ActivityDefinitionType objects.
 Currently, assumes there's exactly one work definition. This is the most typical scenario. If you need more complex,
 consider creating the activity yourself.
 This class maintains interesting parts of the activity definition; and, at the very end, it combines them into
 the final definition.- 
Method SummaryModifier and TypeMethodDescription@NotNull ActivityDefinitionTypebuild()static ActivityDefinitionBuildercreate(@NotNull CleanupWorkDefinitionType definition) static ActivityDefinitionBuildercreate(@NotNull ExplicitChangeExecutionWorkDefinitionType definition) static ActivityDefinitionBuildercreate(@NotNull IterativeScriptingWorkDefinitionType definition) static ActivityDefinitionBuildercreate(@NotNull ReindexingWorkDefinitionType definition) static ActivityDefinitionBuildercreate(@NotNull WorkDefinitionsType works) withExecutionMode(@Nullable ExecutionModeType value) withPredefinedConfiguration(@Nullable PredefinedConfigurationType value) withSimulationDefinition(@Nullable SimulationDefinitionType simulationDefinition) 
- 
Method Details- 
create
- 
createpublic static ActivityDefinitionBuilder create(@NotNull @NotNull ExplicitChangeExecutionWorkDefinitionType definition) 
- 
createpublic static ActivityDefinitionBuilder create(@NotNull @NotNull CleanupWorkDefinitionType definition) 
- 
createpublic static ActivityDefinitionBuilder create(@NotNull @NotNull IterativeScriptingWorkDefinitionType definition) 
- 
createpublic static ActivityDefinitionBuilder create(@NotNull @NotNull ReindexingWorkDefinitionType definition) 
- 
withExecutionMode
- 
withPredefinedConfigurationpublic ActivityDefinitionBuilder withPredefinedConfiguration(@Nullable @Nullable PredefinedConfigurationType value) 
- 
withSimulationDefinitionpublic ActivityDefinitionBuilder withSimulationDefinition(@Nullable @Nullable SimulationDefinitionType simulationDefinition) 
- 
build
 
-