class MustOperator extends BaseOperator<WhenCondition> {

	@Override
	public WhenCondition build(Object[] objects) throws Exception {<FILL_FUNCTION_BODY>}

}

		OperatorHelper.checkObjectSizeGteTwo(objects);

		String errorMsg = "The caller must be WhenCondition item";
		WhenCondition whenCondition = OperatorHelper.convert(objects[0], WhenCondition.class, errorMsg);

		// 解析指定完成的任务 ID 集合
		Set<String> specifyIdSet = new HashSet<>();

		for (int i = 1; i < objects.length; i++) {
			Object task = objects[i];
			if (task instanceof String) {
				specifyIdSet.add(OperatorHelper.convert(task, String.class));
			} else if (task instanceof Executable) {
				specifyIdSet.add(OperatorHelper.convert(task, Executable.class).getId());
			}
		}

		whenCondition.setSpecifyIdSet(specifyIdSet);
		whenCondition.setParallelStrategy(ParallelStrategyEnum.SPECIFY);
		return whenCondition;
	
<methods>public non-sealed void <init>() ,public abstract com.yomahub.liteflow.flow.element.condition.WhenCondition build(java.lang.Object[]) throws java.lang.Exception,public com.yomahub.liteflow.flow.element.condition.WhenCondition executeInner(java.lang.Object[]) throws java.lang.Exception<variables>