Persistence.java 484 B

123456789101112131415161718192021222324
  1. /**
  2. * DBSyncer Copyright 2020-2023 All Rights Reserved.
  3. */
  4. package org.dbsyncer.parser.command;
  5. import org.dbsyncer.parser.ParserException;
  6. /**
  7. * 序列化接口
  8. *
  9. * @Version 1.0.0
  10. * @Author AE86
  11. * @Date 2023-11-12 01:32
  12. */
  13. public interface Persistence {
  14. default boolean addConfig() {
  15. throw new ParserException("Unsupported method addConfig");
  16. }
  17. default boolean editConfig() {
  18. throw new ParserException("Unsupported method editConfig");
  19. }
  20. }