package com.atlassian.stash.internal.license;

import com.atlassian.extras.api.bitbucket.BitbucketServerLicense;

import javax.annotation.Nonnull;

/**
 * A dual-format license, providing access to both the {@link #getEncodedLicense() encoded license} and the decoded
 * {@link BitbucketServerLicense}.
 *
 * @since 3.2
 */
public interface DualLicense extends BitbucketServerLicense {

    @Nonnull
    String getEncodedLicense();
}
