class IfOperator extends BaseOperator<IfCondition> {

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

}

		OperatorHelper.checkObjectSizeEq(objects, 2, 3);

		// 解析第一个参数
		OperatorHelper.checkObjMustBeBooleanTypeItem(objects[0]);
		Executable ifItem = OperatorHelper.convert(objects[0], Executable.class);


		// 解析第二个参数
		OperatorHelper.checkObjMustBeCommonTypeItem(objects[1]);
		Executable trueCaseExecutableItem = OperatorHelper.convert(objects[1], Executable.class);

		// 解析第三个参数，如果有的话
		Executable falseCaseExecutableItem = null;
		if (objects.length == 3) {
			OperatorHelper.checkObjMustBeCommonTypeItem(objects[2]);
			falseCaseExecutableItem = OperatorHelper.convert(objects[2], Executable.class);
		}

		IfCondition ifCondition = new IfCondition();
		ifCondition.setIfItem(ifItem);
		ifCondition.setTrueCaseExecutableItem(trueCaseExecutableItem);
		ifCondition.setFalseCaseExecutableItem(falseCaseExecutableItem);
		return ifCondition;
	
<methods>public non-sealed void <init>() ,public abstract com.yomahub.liteflow.flow.element.condition.IfCondition build(java.lang.Object[]) throws java.lang.Exception,public com.yomahub.liteflow.flow.element.condition.IfCondition executeInner(java.lang.Object[]) throws java.lang.Exception<variables>