package com.atlassian.bitbucket.event.server;

import com.atlassian.event.api.AsynchronousPreferred;

import javax.annotation.Nonnull;
import javax.annotation.Nullable;

/**
 * Event that is raised when the application base url is changed.
 */
@AsynchronousPreferred
public class BaseUrlChangedEvent extends ApplicationConfigurationChangedEvent<String> {

    public BaseUrlChangedEvent(@Nonnull Object source, @Nullable String oldValue, @Nullable String newValue) {
        super(source, Property.BASE_URL, oldValue, newValue);
    }
}
