public class WebhookEvent
extends org.springframework.context.ApplicationEvent
source| 构造器和说明 |
|---|
WebhookEvent(Object source,
Throwable throwable,
WebhookProductEnum webhookProductEnum,
String title,
java.util.function.Consumer<BaseWebhookRequestBody> consumer)
创建 WebhookEvent
|
WebhookEvent(Object source,
Throwable throwable,
WebhookProductEnum webhookProductEnum,
String title,
java.util.function.Consumer<BaseWebhookRequestBody> consumer,
List<String> userMobileList) |
WebhookEvent(Object source,
Throwable throwable,
WebhookProductEnum webhookProductEnum,
String title,
java.util.function.Consumer<BaseWebhookRequestBody> consumer,
List<String> userIdList,
List<String> userMobileList) |
WebhookEvent(Object source,
Throwable throwable,
WebhookProductEnum webhookProductEnum,
String title,
List<String> userIdList,
java.util.function.Consumer<BaseWebhookRequestBody> consumer) |
| 限定符和类型 | 方法和说明 |
|---|---|
WebhookEvent |
fillField(WebhookProductEnum webhookProductEnum) |
String |
getBasePackageName() |
BaseWebhookRequestBody |
getBaseWebhookRequestBody() |
String |
getNoticeUrl() |
String |
getOccurTime() |
String |
getTitle() |
WebhookProductEnum |
getWebhookProductEnum() |
boolean |
needFillField()
是否需要动态获取 WebhookProductEnum 枚举
|
void |
setBasePackageName(String basePackageName) |
void |
setBasePackName(String basePackName) |
void |
setGitProperties(Properties gitProperties) |
void |
setMachineInfoMap(LinkedHashMap<String,String> machineInfoMap) |
void |
setNoticeUrl(String noticeUrl) |
getSource, toStringpublic WebhookEvent(Object source, Throwable throwable, WebhookProductEnum webhookProductEnum, String title, java.util.function.Consumer<BaseWebhookRequestBody> consumer)
source - sourcethrowable - throwablewebhookProductEnum - webhookProductEnumtitle - titleconsumer - consumerpublic WebhookEvent(Object source, Throwable throwable, WebhookProductEnum webhookProductEnum, String title, List<String> userIdList, java.util.function.Consumer<BaseWebhookRequestBody> consumer)
public WebhookEvent(Object source, Throwable throwable, WebhookProductEnum webhookProductEnum, String title, java.util.function.Consumer<BaseWebhookRequestBody> consumer, List<String> userMobileList)
public WebhookEvent(Object source, Throwable throwable, WebhookProductEnum webhookProductEnum, String title, java.util.function.Consumer<BaseWebhookRequestBody> consumer, List<String> userIdList, List<String> userMobileList)
public WebhookEvent fillField(WebhookProductEnum webhookProductEnum)
public boolean needFillField()
public WebhookProductEnum getWebhookProductEnum()
public void setMachineInfoMap(LinkedHashMap<String,String> machineInfoMap)
public void setGitProperties(Properties gitProperties)
public String getOccurTime()
public BaseWebhookRequestBody getBaseWebhookRequestBody()
public String getTitle()
public void setBasePackName(String basePackName)
public String getNoticeUrl()
public void setNoticeUrl(String noticeUrl)
public String getBasePackageName()
public void setBasePackageName(String basePackageName)
Copyright © 2021. All rights reserved.