* Rename Umbraco.Core namespace to Umbraco.Cms.Core * Move extension methods in core project to Umbraco.Extensions * Move extension methods in core project to Umbraco.Extensions * Rename Umbraco.Examine namespace to Umbraco.Cms.Examine * Move examine extensions to Umbraco.Extensions namespace * Reflect changed namespaces in Builder and fix unit tests * Adjust namespace in Umbraco.ModelsBuilder.Embedded * Adjust namespace in Umbraco.Persistence.SqlCe * Adjust namespace in Umbraco.PublishedCache.NuCache * Align namespaces in Umbraco.Web.BackOffice * Align namespaces in Umbraco.Web.Common * Ensure that SqlCeSupport is still enabled after changing the namespace * Align namespaces in Umbraco.Web.Website * Align namespaces in Umbraco.Web.UI.NetCore * Align namespaces in Umbraco.Tests.Common * Align namespaces in Umbraco.Tests.UnitTests * Align namespaces in Umbraco.Tests.Integration * Fix errors caused by changed namespaces * Fix integration tests * Undo the Umbraco.Examine.Lucene namespace change This breaks integration tests on linux, since the namespace wont exists there because it's only used on windows. * Fix merge * Fix Merge
74 lines
2.1 KiB
C#
74 lines
2.1 KiB
C#
namespace Umbraco.Cms.Core
|
|
{
|
|
/// <summary>
|
|
/// Describes the reason for the runtime level.
|
|
/// </summary>
|
|
public enum RuntimeLevelReason
|
|
{
|
|
/// <summary>
|
|
/// The reason is unknown.
|
|
/// </summary>
|
|
Unknown,
|
|
|
|
/// <summary>
|
|
/// The code version is lower than the version indicated in web.config, and
|
|
/// downgrading Umbraco is not supported.
|
|
/// </summary>
|
|
BootFailedCannotDowngrade,
|
|
|
|
/// <summary>
|
|
/// The runtime cannot connect to the configured database.
|
|
/// </summary>
|
|
BootFailedCannotConnectToDatabase,
|
|
|
|
/// <summary>
|
|
/// The runtime can connect to the configured database, but it cannot
|
|
/// retrieve the migrations status.
|
|
/// </summary>
|
|
BootFailedCannotCheckUpgradeState,
|
|
|
|
/// <summary>
|
|
/// An exception was thrown during boot.
|
|
/// </summary>
|
|
BootFailedOnException,
|
|
|
|
/// <summary>
|
|
/// Umbraco is not installed at all.
|
|
/// </summary>
|
|
InstallNoVersion,
|
|
|
|
/// <summary>
|
|
/// A version is specified in web.config but the database is not configured.
|
|
/// </summary>
|
|
/// <remarks>This is a weird state.</remarks>
|
|
InstallNoDatabase,
|
|
|
|
/// <summary>
|
|
/// A version is specified in web.config and a database is configured, but the
|
|
/// database is missing, and installing over a missing database has been enabled.
|
|
/// </summary>
|
|
InstallMissingDatabase,
|
|
|
|
/// <summary>
|
|
/// A version is specified in web.config and a database is configured, but the
|
|
/// database is empty, and installing over an empty database has been enabled.
|
|
/// </summary>
|
|
InstallEmptyDatabase,
|
|
|
|
/// <summary>
|
|
/// Umbraco runs an old version.
|
|
/// </summary>
|
|
UpgradeOldVersion,
|
|
|
|
/// <summary>
|
|
/// Umbraco runs the current version but some migrations have not run.
|
|
/// </summary>
|
|
UpgradeMigrations,
|
|
|
|
/// <summary>
|
|
/// Umbraco is running.
|
|
/// </summary>
|
|
Run
|
|
}
|
|
}
|