package com.atlassian.bitbucket.repository.ref.restriction;

import com.atlassian.event.api.AsynchronousPreferred;
import com.atlassian.bitbucket.repository.Repository;
import com.atlassian.bitbucket.user.ApplicationUser;

import javax.annotation.Nonnull;
import java.util.Collection;

@AsynchronousPreferred
public class RefRestrictionUpdatedEvent extends RefRestrictionEvent {

    public RefRestrictionUpdatedEvent(@Nonnull Object source,
                                      @Nonnull Repository repository,
                                      @Nonnull RefRestriction restriction,
                                      @Nonnull Collection<ApplicationUser> affectedUsers,
                                      @Nonnull Collection<String> affectedGroups) {
        super(source, repository, restriction, affectedUsers, affectedGroups);
    }
}
