com.atlassian.crowd.manager.webhook
Class WebhookNotifierRunnable

java.lang.Object
  extended by com.atlassian.crowd.manager.webhook.WebhookNotifierRunnable
All Implemented Interfaces:
Runnable

public class WebhookNotifierRunnable
extends Object
implements Runnable

A runnable that pings a Webhook and reports success or failure

Since:
v2.7

Constructor Summary
WebhookNotifierRunnable(Webhook webhook, WebhookPinger webhookPinger, WebhookNotificationListener webhookNotificationListener)
           
 
Method Summary
 void run()
          This runs in a separate thread, therefore the webhook instance is detached.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebhookNotifierRunnable

public WebhookNotifierRunnable(Webhook webhook,
                               WebhookPinger webhookPinger,
                               WebhookNotificationListener webhookNotificationListener)
Method Detail

run

public void run()
This runs in a separate thread, therefore the webhook instance is detached. All database operations must be performed through transactional services. Do not try to access lazy members of the webhook.

Specified by:
run in interface Runnable


Copyright © 2014 Atlassian. All Rights Reserved.