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

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

import javax.validation.constraints.NotNull;

/**
 * Base interface for web hook events relating to particular repositories
 */
public interface RepositoryWebHookEvent extends MirroringWebHookEvent {
    /**
     * @return the repository the web hook event relates to
     */
    @NotNull
    MinimalExternalRepository getRepository();
}
