package com.atlassian.bitbucket.ssh.event;

import com.atlassian.bitbucket.project.Project;
import com.atlassian.bitbucket.repository.Repository;
import com.atlassian.bitbucket.ssh.SshAccessKey;
import com.atlassian.event.api.AsynchronousPreferred;

import javax.annotation.Nonnull;

/**
 * Event raised when an {@link SshAccessKey access key} is revoked for a {@link Project project} or
 * {@link Repository repository}
 *
 * @since 4.3
 */
@AsynchronousPreferred
public class SshAccessKeyRevokedEvent extends SshAccessKeyEvent {

    public SshAccessKeyRevokedEvent(@Nonnull Object source, @Nonnull SshAccessKey accessKey) {
        super(source, accessKey);
    }
}
