Add javadoc for WXAProxy constructors.

This commit is contained in:
Sutra Zhou 2018-05-29 00:12:08 +08:00
parent d0218367a2
commit 8ccee90bc7

View File

@ -24,6 +24,11 @@ public class WXAProxy {
private final TemplateApi templateApi;
private final TemplateMessageApi templateMessageApi;
/**
* Constructs {@link WXAProxy} using {@link FileCacheStorager}.
*
* @param weixinAccount the {@link WeixinAccount}.
*/
public WXAProxy(
WeixinAccount weixinAccount
) {
@ -33,6 +38,12 @@ public class WXAProxy {
);
}
/**
* Constructs {@link WXAProxy} using specified {@link CacheStorager}.
*
* @param weixinAccount the {@link WeixinAccount}.
* @param cacheStorager the {@link CacheStorager}.
*/
public WXAProxy(
WeixinAccount weixinAccount,
CacheStorager<Token> cacheStorager