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
Nested Classes Modifier and Type Class Description protected static class
NoOpActivityHandler.MyWorkDefinition
-
Constructor Summary
Constructors Constructor Description NoOpActivityHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AbstractActivityRun<NoOpActivityHandler.MyWorkDefinition,NoOpActivityHandler,?>
createActivityRun(@NotNull ActivityRunInstantiationContext<NoOpActivityHandler.MyWorkDefinition,NoOpActivityHandler> context, @NotNull OperationResult result)
void
register()
void
unregister()
-
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
-
-
-
-
Method Detail
-
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>
-
-