Class WorkDefinitionFactory
java.lang.Object
com.evolveum.midpoint.repo.common.activity.definition.WorkDefinitionFactory
Creates
WorkDefinition instances from their serialized (bean) form. Since 4.8 it is limited to the
"new" format, i.e., activity definition bean. The legacy style (task extension) is no longer supported for activity-based
tasks.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordThese parameters will be probably modified in the future, so let's avoid reworking all the constructors, and centralize the knowledge here.static interface -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidregisterSupplier(@NotNull QName typeName, @NotNull QName itemName, @NotNull WorkDefinitionFactory.WorkDefinitionSupplier supplier) voidunregisterSupplier(@NotNull QName typeName)
-
Constructor Details
-
WorkDefinitionFactory
public WorkDefinitionFactory()
-
-
Method Details
-
registerSupplier
public void registerSupplier(@NotNull @NotNull QName typeName, @NotNull @NotNull QName itemName, @NotNull @NotNull WorkDefinitionFactory.WorkDefinitionSupplier supplier) -
unregisterSupplier
-