Class NoOpActivityHandler
java.lang.Object
com.evolveum.midpoint.repo.common.activity.handlers.NoOpActivityHandler
- All Implemented Interfaces:
ActivityRunSupplier<NoOpActivityHandler.MyWorkDefinition,
,NoOpActivityHandler> CandidateIdentifierFormatter
,ActivityHandler<NoOpActivityHandler.MyWorkDefinition,
NoOpActivityHandler>
@Component
public class NoOpActivityHandler
extends Object
implements ActivityHandler<NoOpActivityHandler.MyWorkDefinition,NoOpActivityHandler>
Just a dummy activity to be used for demonstration and testing purposes.
Supersedes `NoOpTaskHandler`.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateActivityRun
(@NotNull ActivityRunInstantiationContext<NoOpActivityHandler.MyWorkDefinition, NoOpActivityHandler> context, @NotNull OperationResult result) void
register()
void
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.repo.common.activity.handlers.ActivityHandler
createChildActivities, formatCandidateIdentifier, getDefaultArchetypeOid, getIdentifierPrefix, getRootActivityStateDefinition
-
Constructor Details
-
NoOpActivityHandler
public NoOpActivityHandler()
-
-
Method Details
-
register
@PostConstruct public void register() -
unregister
@PreDestroy public void unregister() -
createActivityRun
public AbstractActivityRun<NoOpActivityHandler.MyWorkDefinition,NoOpActivityHandler, createActivityRun?> (@NotNull @NotNull ActivityRunInstantiationContext<NoOpActivityHandler.MyWorkDefinition, NoOpActivityHandler> context, @NotNull @NotNull OperationResult result) - Specified by:
createActivityRun
in interfaceActivityRunSupplier<NoOpActivityHandler.MyWorkDefinition,
NoOpActivityHandler>
-