Class AutoScalingActivityHandler
java.lang.Object
com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler<AutoScalingWorkDefinition,AutoScalingActivityHandler>
com.evolveum.midpoint.model.impl.tasks.cluster.AutoScalingActivityHandler
- All Implemented Interfaces:
ActivityRunSupplier<AutoScalingWorkDefinition,
,AutoScalingActivityHandler> CandidateIdentifierFormatter
,ActivityHandler<AutoScalingWorkDefinition,
AutoScalingActivityHandler>
@Component
public class AutoScalingActivityHandler
extends ModelActivityHandler<AutoScalingWorkDefinition,AutoScalingActivityHandler>
Activity handler for "auto-scaling" activity.
-
Field Summary
Fields inherited from class com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler
beans, commonTaskBeans, handlerRegistry
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateActivityRun
(@NotNull ActivityRunInstantiationContext<AutoScalingWorkDefinition, AutoScalingActivityHandler> context, @NotNull OperationResult result) Returns task archetype OID connected to this activity handler.@NotNull ActivityStateDefinition<?>
Returns state definition for standalone (root) activity paired with this handler.void
register()
void
Methods inherited from class com.evolveum.midpoint.model.impl.tasks.ModelActivityHandler
getModelBeans
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
-
Constructor Details
-
AutoScalingActivityHandler
public AutoScalingActivityHandler()
-
-
Method Details
-
register
@PostConstruct public void register() -
unregister
@PreDestroy public void unregister() -
createActivityRun
public AbstractActivityRun<AutoScalingWorkDefinition,AutoScalingActivityHandler, createActivityRun?> (@NotNull @NotNull ActivityRunInstantiationContext<AutoScalingWorkDefinition, AutoScalingActivityHandler> context, @NotNull @NotNull OperationResult result) -
getDefaultArchetypeOid
Description copied from interface:ActivityHandler
Returns task archetype OID connected to this activity handler. When a generic task starts, it is given an archetype based on the activity handler for the task's main activity. (If not set before.) -
getIdentifierPrefix
-
getRootActivityStateDefinition
Description copied from interface:ActivityHandler
Returns 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.
-