class WebhookManager extends java.lang.Object
Constructor and description |
---|
WebhookManager
() |
WebhookManager
(DeployDBConfiguration deployDBConfiguration) Constructor to create based on configuration of queues and runner |
Type | Name and description |
---|---|
java.lang.Object |
getMemberOfObject(java.lang.Object klass, java.lang.Object variable) |
com.github.lookout.whoas.AbstractHookQueue |
getQueue() |
com.github.lookout.whoas.AbstractHookRunner |
getRunner() |
java.lang.Boolean |
getRunning() Return true if the webhook thread is running |
boolean |
sendDeployDbWebhook(java.lang.String eventType, java.lang.String webhookType, Webhook environmentWebhook, WebhookModelMapper webhookModelMapper) @param eventType The tyoe of webhook event - created, started, completed |
boolean |
sendDeploymentWebhook(java.lang.String eventType, Webhook environmentWebhook, WebhookModelMapper webhookModelMapper) @param eventType The tyoe of webhook event - created, started, completed |
boolean |
sendPromotionWebhook(java.lang.String eventType, Webhook environmentWebhook, WebhookModelMapper webhookModelMapper) @param eventType The tyoe of webhook event - completed |
void |
start() |
void |
stop() |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Constructor to create based on configuration of queues and runner
Return true if the webhook thread is running
eventType
- The tyoe of webhook event - created, started, completedwebhookType
- The type of webhook - deployment, promotionenvironmentWebhook
- Environment webhook associated with th modelwebhookModelMapper
- The mapper class to translate from model to webhook
eventType
- The tyoe of webhook event - created, started, completedenvironmentWebhook
- Environment webhook associated with the deploymentwebhookModelMapper
- The mapper class to translate from model to webhook
eventType
- The tyoe of webhook event - completedenvironmentWebhook
- Environment webhook associated with the promotionwebhookModelMapper
- The mapper class to translate from model to webhook