// Copyright (c) 2009-2026 SAP SE, All Rights Reserved

/**
 * Copy of sap/ushell/services/appstate/AppStatePersistencyMethod
 *
 * Only used by sap/cf/adapters/AppStateAdapter
 * @fileoverview AppStatePersistencyMethod
 * @deprecated since 1.116. Please use {@link sap.ushell.services.appstate.AppStatePersistencyMethod} instead.
 */
sap.ui.define([
    "sap/ushell/utils/DeprecationLog"
], (
    DeprecationLog
) => {
    "use strict";

    function AppStatePersistencyMethod () {
        this.PersonalState = "PersonalState";
        this.ACLProtectedState = "ACLProtectedState";
        this.PublicState = "PublicState";
        this.AuthorizationProtectedState = "AuthorizationProtectedState";
    }
    DeprecationLog.logModuleDeprecation({
        module: "sap.ushell.services._AppState.AppStatePersistencyMethod",
        since: "1.116",
        successor: "sap.ushell.services.appstate.AppStatePersistencyMethod"
    });

    return new AppStatePersistencyMethod();
});
