Package cn.toint.jdy4j.core.client
Interface JdyClient
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
BaseJdyClientImpl
简道云客户端
1. 建议开发者 extends BaseJdyClientImpl
- Author:
- Toint
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidclose()default void执行方法, 默认自动关闭资源default void执行方法default <R> R执行方法, 默认自动关闭资源default <R> R执行方法简道云应用获取配置, 开发者需实现该接口获取简道云配置服务简道云数据简道云文件
-
Method Details
-
execute
执行方法, 默认自动关闭资源- Parameters:
consumer- 执行方法
-
execute
执行方法- Parameters:
consumer- 执行方法autoClose- 是否自动关闭资源
-
execute
执行方法, 默认自动关闭资源- Parameters:
function- 执行方法- Returns:
- result
-
execute
执行方法- Parameters:
function- 执行方法autoClose- 是否自动关闭资源- Returns:
- result
-
getJdyConfigStorage
JdyConfigStorage getJdyConfigStorage()获取配置, 开发者需实现该接口 -
close
default void close()- Specified by:
closein interfaceAutoCloseable
-
getJdyAppService
JdyAppService getJdyAppService()简道云应用 -
getJdyDataService
JdyDataService getJdyDataService()简道云数据 -
getJdyFileService
JdyFileService getJdyFileService()简道云文件 -
getJdyConfigStorageService
JdyConfigStorageService getJdyConfigStorageService()获取简道云配置服务
-