Class CustomCompositeActivityHandler
java.lang.Object
com.evolveum.midpoint.repo.common.activity.handlers.CustomCompositeActivityHandler
- All Implemented Interfaces:
- ActivityRunSupplier<CompositeWorkDefinition,,- CustomCompositeActivityHandler> - CandidateIdentifierFormatter,- ActivityHandler<CompositeWorkDefinition,- CustomCompositeActivityHandler> 
@Component
public class CustomCompositeActivityHandler
extends Object
implements ActivityHandler<CompositeWorkDefinition,CustomCompositeActivityHandler> 
Handles custom composite activities, see
 https://docs.evolveum.com/midpoint/reference/tasks/activities/#configuring-custom-composite-activities.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptioncreateActivityRun(@NotNull ActivityRunInstantiationContext<CompositeWorkDefinition, CustomCompositeActivityHandler> context, @NotNull OperationResult result) @NotNull ActivityStateDefinition<?>Returns state definition for standalone (root) activity paired with this handler.voidregister()voidMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.repo.common.activity.handlers.ActivityHandlerformatCandidateIdentifier, getDefaultArchetypeOid
- 
Constructor Details- 
CustomCompositeActivityHandlerpublic CustomCompositeActivityHandler()
 
- 
- 
Method Details- 
register@PostConstruct public void register()
- 
unregister@PreDestroy public void unregister()
- 
createActivityRun@NotNull public @NotNull AbstractActivityRun<CompositeWorkDefinition,CustomCompositeActivityHandler, createActivityRun?> (@NotNull @NotNull ActivityRunInstantiationContext<CompositeWorkDefinition, CustomCompositeActivityHandler> context, @NotNull @NotNull OperationResult result) - Specified by:
- createActivityRunin interface- ActivityRunSupplier<CompositeWorkDefinition,- CustomCompositeActivityHandler> 
 
- 
createChildActivitiespublic ArrayList<Activity<?,?>> createChildActivities(Activity<CompositeWorkDefinition, CustomCompositeActivityHandler> parent) - Specified by:
- createChildActivitiesin interface- ActivityHandler<CompositeWorkDefinition,- CustomCompositeActivityHandler> 
 
- 
getIdentifierPrefix- Specified by:
- getIdentifierPrefixin interface- ActivityHandler<CompositeWorkDefinition,- CustomCompositeActivityHandler> 
 
- 
getRootActivityStateDefinitionDescription copied from interface:ActivityHandlerReturns state definition for standalone (root) activity paired with this handler. Definitions for embedded activities are provided by activities themselves, which are returned byActivityHandler.createChildActivities(Activity)method.- Specified by:
- getRootActivityStateDefinitionin interface- ActivityHandler<CompositeWorkDefinition,- CustomCompositeActivityHandler> 
 
 
-