Files
duplicati/Duplicati/Server/Duplicati.Server.Serialization/Interface/IDynamicModule.cs
T
Kenneth Skovhede 55c2ebf6c7 Deprecate old SharePoint
This PR deprecates the `mssp` and `od4b` backends as they stopped working when the APIs were turned off.

The upgrade path is to use `sharepoint` instead (which used to be named "SharePoint v2").

This PR also adds a small amount of metadata to modules so they can be marked as "untested" or "deprecated", and the configuration for marking modules has been set up in `BackendModules.cs`.

The backends that we currently cannot test (usualy due to not having public signups) are now marked as untested.
2026-05-13 13:30:39 +02:00

63 lines
2.4 KiB
C#

// Copyright (C) 2026, The Duplicati Team
// https://duplicati.com, hello@duplicati.com
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the "Software"),
// to deal in the Software without restriction, including without limitation
// the rights to use, copy, modify, merge, publish, distribute, sublicense,
// and/or sell copies of the Software, and to permit persons to whom the
// Software is furnished to do so, subject to the following conditions:
//
// The above copyright notice and this permission notice shall be included in
// all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
// DEALINGS IN THE SOFTWARE.
using System.Collections.Generic;
namespace Duplicati.Server.Serialization.Interface
{
/// <summary>
/// The dynamic module
/// </summary>
public interface IDynamicModule
{
/// <summary>
/// The module key
/// </summary>
string Key { get; }
/// <summary>
/// The localized module description
/// </summary>
string Description { get; }
/// <summary>
/// Gets the localized display name
/// </summary>
/// <value>The display name.</value>
string DisplayName { get; }
/// <summary>
/// The options supported by the module
/// </summary>
Library.Interface.ICommandLineArgument[] Options { get; }
/// <summary>
/// The lookups supported by the module
/// </summary>
IDictionary<string, IDictionary<string, string>> Lookups { get; }
/// <summary>
/// Indicated the module is deprecated
/// </summary>
bool IsDeprecated { get; }
/// <summary>
/// Indicated the module is untested
/// </summary>
bool IsUntested { get; }
}
}