package com.atlassian.bitbucket.internal.mirroring.mirror.webhook;

import com.atlassian.bitbucket.internal.mirroring.mirror.ExternalProject;

import javax.validation.constraints.NotNull;

/**
 * Base interface for web hook events relating to particular projects
 */
public interface ProjectWebHookEvent extends MirroringWebHookEvent {
    /**
     * @return the project the web hook event relates to
     */
    @NotNull
    ExternalProject getProject();
}
