Class AbstractWatcherRequest

java.lang.Object
com.atlassian.bitbucket.watcher.AbstractWatcherRequest
Direct Known Subclasses:
IsWatchingRequest, UnwatchRequest, WatchRequest

public class AbstractWatcherRequest extends Object
A base class for request objects used to interact with the WatcherService when referring to a specific watcher.
Since:
5.10
  • Constructor Details

  • Method Details

    • getUser

      @Nonnull public Optional<ApplicationUser> getUser()
      If provided, determines which user is the subject of this request
      Returns:
      the user whose watch status is to be updated.
    • getWatchable

      @Nonnull public Watchable getWatchable()