gpt4 book ai didi

com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.getAdditionalInformation()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-27 00:07:05 29 4
gpt4 key购买 nike

本文整理了Java中com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType.getAdditionalInformation()方法的一些代码示例,展示了WorkItemType.getAdditionalInformation()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。WorkItemType.getAdditionalInformation()方法的具体详情如下:
包路径:com.evolveum.midpoint.xml.ns._public.common.common_3.WorkItemType
类名称:WorkItemType
方法名:getAdditionalInformation

WorkItemType.getAdditionalInformation介绍

暂无

代码示例

代码示例来源:origin: Evolveum/midpoint

public WorkItemType additionalInformation(InformationType value) {
  getAdditionalInformation().add(value);
  return this;
}

代码示例来源:origin: Evolveum/midpoint

public List<InformationType> createAdditionalInformationList() {
  PrismForJAXBUtil.createProperty(asPrismContainerValue(), F_ADDITIONAL_INFORMATION);
  return getAdditionalInformation();
}

代码示例来源:origin: Evolveum/midpoint

@Override
protected void afterFirstClockworkRun(Task rootTask, List<Task> subtasks, List<WorkItemType> workItems,
    OperationResult result) throws Exception {
  ModelContext taskModelContext = wfTaskUtil.getModelContext(rootTask, result);
  ObjectDelta realDelta0 = taskModelContext.getFocusContext().getPrimaryDelta();
  assertTrue("Non-empty primary focus delta: " + realDelta0.debugDump(), realDelta0.isEmpty());
  assertNoObject(employee);
  ExpectedTask expectedTask = new ExpectedTask(null, "Adding role \"" + employee.asObjectable().getName().getOrig() + "\"");
  ExpectedWorkItem expectedWorkItem = new ExpectedWorkItem(userEmployeeOwnerOid, null, expectedTask);
  assertWfContextAfterClockworkRun(rootTask, subtasks, workItems, result,
      null,
      Collections.singletonList(expectedTask),
      Collections.singletonList(expectedWorkItem));
  Collection<SelectorOptions<GetOperationOptions>> options =
      SelectorOptions.createCollection(prismContext.path(F_WORKFLOW_CONTEXT, F_WORK_ITEM), createRetrieve());
  Task opTask = taskManager.createTaskInstance();
  TaskType subtask = modelService.getObject(TaskType.class, subtasks.get(0).getOid(), options, opTask, result).asObjectable();
  WfContextType wfc = subtask.getWorkflowContext();
  ItemApprovalProcessStateType processState = WfContextUtil.getItemApprovalProcessInfo(wfc);
  assertEquals("Wrong # of attached policy rules entries", 1, processState.getPolicyRules().getEntry().size());
  SchemaAttachedPolicyRuleType attachedRule = processState.getPolicyRules().getEntry().get(0);
  assertEquals(1, attachedRule.getStageMin().intValue());
  assertEquals(1, attachedRule.getStageMax().intValue());
  assertEquals("Wrong # of attached triggers", 1, attachedRule.getRule().getTrigger().size());
  EvaluatedPolicyRuleTriggerType trigger = attachedRule.getRule().getTrigger().get(0);
  assertEquals("Wrong constraintKind in trigger", PolicyConstraintKindType.OBJECT_MODIFICATION, trigger.getConstraintKind());
  WorkItemType workItem = wfc.getWorkItem().get(0);
  assertEquals("Wrong # of additional information", 0, workItem.getAdditionalInformation().size());
}

代码示例来源:origin: Evolveum/midpoint

assertEquals("Wrong # of additional information", 0, workItem.getAdditionalInformation().size());

代码示例来源:origin: Evolveum/midpoint

Map<String, Object> allVariables = activitiEngine.getTaskService().getVariables(task.getId());
wi.setProcessSpecificPart(pmi.extractProcessSpecificWorkItemPart(allVariables));
wi.getAdditionalInformation().addAll(pmi.getAdditionalInformation(allVariables));

29 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com