Interface JdyClient

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
BaseJdyClientImpl

public interface JdyClient extends AutoCloseable
简道云客户端

1. 建议开发者 extends BaseJdyClientImpl

Author:
Toint
  • Method Details

    • execute

      default void execute(Consumer<JdyClient> consumer)
      执行方法, 默认自动关闭资源
      Parameters:
      consumer - 执行方法
    • execute

      default void execute(Consumer<JdyClient> consumer, boolean autoClose)
      执行方法
      Parameters:
      consumer - 执行方法
      autoClose - 是否自动关闭资源
    • execute

      default <R> R execute(Function<JdyClient,R> function)
      执行方法, 默认自动关闭资源
      Parameters:
      function - 执行方法
      Returns:
      result
    • execute

      default <R> R execute(Function<JdyClient,R> function, boolean autoClose)
      执行方法
      Parameters:
      function - 执行方法
      autoClose - 是否自动关闭资源
      Returns:
      result
    • getJdyConfigStorage

      JdyConfigStorage getJdyConfigStorage()
      获取配置, 开发者需实现该接口
    • close

      default void close()
      Specified by:
      close in interface AutoCloseable
    • getJdyAppService

      JdyAppService getJdyAppService()
      简道云应用
    • getJdyDataService

      JdyDataService getJdyDataService()
      简道云数据
    • getJdyFileService

      JdyFileService getJdyFileService()
      简道云文件
    • getJdyConfigStorageService

      JdyConfigStorageService getJdyConfigStorageService()
      获取简道云配置服务