/src/main/java/com/drools/core/common/Constants.java

https://github.com/hongwen1993/fast-drools-spring-boot-starter · Java · 41 lines · 9 code · 7 blank · 25 comment · 0 complexity · 961d5c8a91aee15f9de11cc4e6ee102c MD5 · raw file

  1. package com.drools.core.common;
  2. /**
  3. * 基础常量
  4. *
  5. * @author <a href="mailto:hongwen0928@outlook.com">Karas</a>
  6. * @date 2020/3/10
  7. * @since 1.0.0
  8. */
  9. public class Constants {
  10. /**
  11. * 规则文件后缀
  12. */
  13. public static final String SUFFIX_DRL = "drl";
  14. /**
  15. * 决策表后缀 excel 97-03版本的后缀 drools同样支持
  16. */
  17. public static final String SUFFIX_EXCEL = "xls";
  18. /**
  19. * 决策表后缀 excel 2007版本以后的后缀 drools同样支持
  20. */
  21. public static final String SUFFIX_EXCEL_2007 = "xlsx";
  22. /**
  23. * CSV后缀
  24. */
  25. public static final String SUFFIX_CSV = "csv";
  26. /**
  27. * 开启监听器的标识符
  28. */
  29. public static final String LISTENER_OPEN = "on";
  30. /**
  31. * 关闭监听器的标识符
  32. */
  33. public static final String LISTENER_CLOSE = "off";
  34. }