@TransactionAware @Audited public abstract class

RefRestrictionEvent

extends RepositoryEvent
java.lang.Object
   ↳ java.util.EventObject
     ↳ com.atlassian.stash.event.StashEvent
       ↳ com.atlassian.stash.event.RepositoryEvent
         ↳ com.atlassian.stash.repository.ref.restriction.RefRestrictionEvent
Known Direct Subclasses

Class Overview

The abstract base for all events related to RefRestrictions.

Summary

[Expand]
Inherited Fields
From class java.util.EventObject
Public Constructors
RefRestrictionEvent(Object source, Repository repository, RefRestriction restriction, Collection<StashUser> affectedUsers, Collection<String> affectedGroups)
Public Methods
@Nonnull List<String> getAffectedGroups()
@Nonnull List<StashUser> getAffectedUsers()
@Nonnull RefRestriction getRestriction()
[Expand]
Inherited Methods
From class com.atlassian.stash.event.RepositoryEvent
From class com.atlassian.stash.event.StashEvent
From class java.util.EventObject
From class java.lang.Object

Public Constructors

public RefRestrictionEvent (Object source, Repository repository, RefRestriction restriction, Collection<StashUser> affectedUsers, Collection<String> affectedGroups)

Public Methods

@Nonnull public List<String> getAffectedGroups ()

@Nonnull public List<StashUser> getAffectedUsers ()

@Nonnull public RefRestriction getRestriction ()