Browse Source

feat: 新增添一些方法。

master
zjz1993 5 years ago
parent
commit
1206e8a98c
  1. 8
      src/main/java/com/fanruan/api/cal/formula/BaseFormula.java
  2. 4
      src/main/java/com/fanruan/api/config/DefaultConfiguration.java
  3. 14
      src/main/java/com/fanruan/api/script/ScriptKit.java
  4. 4
      src/main/java/com/fanruan/api/uniqueKey/UniqueKeyKit.java
  5. 4
      src/main/java/com/fanruan/api/util/eval/error/UtilEvalError.java

8
src/main/java/com/fanruan/api/cal/formula/BaseFormula.java

@ -0,0 +1,8 @@
package com.fanruan.api.cal.formula;
public class BaseFormula extends com.fr.base.BaseFormula{
@Override
public String getXmlTag(){
return "";
}
}

4
src/main/java/com/fanruan/api/config/DefaultConfiguration.java

@ -0,0 +1,4 @@
package com.fanruan.api.config;
public class DefaultConfiguration extends com.fr.config.DefaultConfiguration{
}

14
src/main/java/com/fanruan/api/script/ScriptKit.java

@ -0,0 +1,14 @@
package com.fanruan.api.script;
import com.fr.script.ScriptFactory;
import javax.script.ScriptEngine;
public class ScriptKit {
/**
* 获取一个全新的脚本执行引擎
* @return 一个全新的脚本执行引擎
*/
public static ScriptEngine newScriptEngine() {
return ScriptFactory.newScriptEngine();
}
}

4
src/main/java/com/fanruan/api/uniqueKey/UniqueKeyKit.java

@ -0,0 +1,4 @@
package com.fanruan.api.uniqueKey;
public class UniqueKeyKit extends com.fr.config.utils.UniqueKey{
}

4
src/main/java/com/fanruan/api/util/eval/error/UtilEvalError.java

@ -0,0 +1,4 @@
package com.fanruan.api.util.eval.error;
public class UtilEvalError extends com.fr.stable.UtilEvalError{
}
Loading…
Cancel
Save