com.atlassian.jira.bc.issue.watcher
Class AutoWatchService

java.lang.Object
  extended by com.atlassian.jira.bc.issue.watcher.AutoWatchService
All Implemented Interfaces:
Startable

public class AutoWatchService
extends Object
implements Startable

Service for automatically watching Issues that are created or commented on a by a user assuming they haven't disabled it in their preferences.

Since:
v5.0.2

Constructor Summary
AutoWatchService(com.atlassian.event.api.EventPublisher eventPublisher, WatcherService watcherService, UserPreferencesManager userPreferencesManager)
           
 
Method Summary
 void onIssueEvent(IssueEvent event)
           
 void start()
          This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AutoWatchService

public AutoWatchService(com.atlassian.event.api.EventPublisher eventPublisher,
                        WatcherService watcherService,
                        UserPreferencesManager userPreferencesManager)
Method Detail

start

public void start()
           throws Exception
Description copied from interface: Startable
This method wil be called after the plugin system is fully initialised and all components added to the dependency injection framework.

Specified by:
start in interface Startable
Throws:
Exception - Allows implementations to throw an Exception.

onIssueEvent

@EventListener
public void onIssueEvent(IssueEvent event)


Copyright © 2002-2012 Atlassian. All Rights Reserved.