Uses of Interface
org.kie.kogito.internal.process.workitem.Policy
Packages that use Policy
Package
Description
-
Uses of Policy in org.kie.kogito.auth
Classes in org.kie.kogito.auth that implement PolicyModifier and TypeClassDescriptionclassSecurity policy that deliversIdentityProviderto allow to security related policy enforcement. -
Uses of Policy in org.kie.kogito.internal.process.workitem
Methods in org.kie.kogito.internal.process.workitem that return types with arguments of type PolicyModifier and TypeMethodDescriptionWorkItemTransition.policies()Optional list of policies to be enforced during transitionMethods in org.kie.kogito.internal.process.workitem with parameters of type PolicyModifier and TypeMethodDescriptionKogitoWorkItemHandler.abortTransition(String phaseStatus, Policy... policies) voidKogitoWorkItemManager.abortWorkItem(String id, Policy... policies) Notifies the work item manager that the work item with the given id could not be executed and should be aborted.KogitoWorkItemHandler.completeTransition(String phaseStatus, Map<String, Object> data, Policy... policies) voidNotifies the work item manager that the work item with the given id has been completed.KogitoWorkItemHandler.newTransition(String phaseId, String phaseStatus, Map<String, Object> map, Policy... policy) WorkItemLifeCycle.newTransition(String transitionId, String phaseStatus, Map<String, Object> map, Policy... policy) KogitoWorkItemHandler.startingTransition(Map<String, Object> data, Policy... policies) The given work item should be activate.<T> TKogitoWorkItemManager.updateWorkItem(String id, Function<KogitoWorkItem, T> updater, Policy... policies) Updates work item, performing operation indicated by updater -
Uses of Policy in org.kie.kogito.process
Methods in org.kie.kogito.process with parameters of type PolicyModifier and TypeMethodDescriptionvoidProcessInstance.abortWorkItem(String id, Policy... policies) Aborts work item belonging to this process instancevoidCompletes work item belonging to this process instance with given variables<T extends MappableToModel<?>,R>
Optional<R>ProcessService.getWorkItem(Process<T> process, String id, String taskId, Policy policy, Function<WorkItem, R> mapper) ProcessService.getWorkItems(Process<T> process, String id, Policy... policy) ProcessService.getWorkItemSchemaAndPhases(Process<T> process, String id, String taskId, String taskName, Policy policy) Process.newTransition(WorkItem workItem, String transitionId, Map<String, Object> map, Policy... policy) ProcessService.setWorkItemOutput(Process<T> process, String id, String taskId, Policy policy, MapOutput model, Function<Map<String, Object>, R> mapper) ProcessService.signalWorkItem(Process<T> process, String id, String taskNodeName, Policy... policy) <T extends MappableToModel<R>,R>
Optional<R>ProcessService.transitionWorkItem(Process<T> process, String id, String taskId, String phase, Policy policy, MapOutput model) <R> RProcessInstance.updateWorkItem(String id, Function<KogitoWorkItem, R> updater, Policy... policies) Updates work item according to provided consumerReturns work item identified by given id if foundProcessInstance.workItems(Predicate<KogitoNodeInstance> p, Policy... policies) Returns list of filtered work itemsReturns list of currently active work items.