package com.atlassian.bitbucket.env;

/**
 * Defines system properties, specified with {@code -D}, which the product supports.
 */
public class SystemProperties {

    public static final String PROP_PREFIX = "bitbucket";
    public static final String PROP_LEGACY_PREFIX = "stash";

    // Home directories
    public static final String PROP_HOME_DIR = PROP_PREFIX + ".home";
    public static final String PROP_LEGACY_HOME_DIR = PROP_LEGACY_PREFIX + ".home";
    public static final String PROP_LEGACY_SHARED_HOME_DIR = PROP_LEGACY_PREFIX + ".shared.home";
    public static final String PROP_SHARED_HOME_DIR = PROP_PREFIX + ".shared.home";

    // REST Properties
    public static final String PROP_REST_PREFIX = PROP_PREFIX + ".rest";
    public static final String PROP_REST_PAGE_MAX_LIMIT = PROP_REST_PREFIX + ".max.limit";
}
