com.app.common.condition.BuildConditionFactory Maven / Gradle / Ivy
The newest version!
package com.app.common.condition;
import com.app.common.condition.buildcondition.OracleSqlBuildCondition;
public class BuildConditionFactory {
public static IBuildCondition CreateBuildCondition(
BuildConditionType buildConditionType) {
IBuildCondition buildCondition = null;
switch (buildConditionType) {
case Ibatis:
break;
case MySql:
buildCondition = new OracleSqlBuildCondition();
break;
}
return buildCondition;
}
}