class WhenOperator extends BaseOperator<WhenCondition> {

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

}

		OperatorHelper.checkObjectSizeGtZero(objects);

		WhenCondition whenCondition = new WhenCondition();

		LiteflowConfig liteflowConfig = LiteflowConfigGetter.get();
		for (Object obj : objects) {
			OperatorHelper.checkObjMustBeCommonTypeItem(obj);
			whenCondition.addExecutable(OperatorHelper.convert(obj, Executable.class));
			whenCondition.setThreadExecutorClass(liteflowConfig.getThreadExecutorClass());
		}
		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>