package com.atlassian.bitbucket.event.project;

import com.atlassian.analytics.api.annotations.EventName;
import com.atlassian.event.api.AsynchronousPreferred;
import com.atlassian.bitbucket.event.annotation.TransactionAware;
import com.atlassian.bitbucket.project.Project;

import javax.annotation.Nonnull;

/**
 * Event that is raised when a project is deleted.
 */
@AsynchronousPreferred
@TransactionAware
@EventName("stash.project.deleted")
public class ProjectDeletedEvent extends ProjectEvent {
    
    public ProjectDeletedEvent(@Nonnull Object source, @Nonnull Project project) {
        super(source, project);
    }
}
