Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/duplicati/duplicati.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Skovhede <kenneth@hexad.dk>2017-01-23 22:47:01 +0300
committerKenneth Skovhede <kenneth@hexad.dk>2017-01-23 22:47:01 +0300
commit81e8ef92daa8f778ff99fc412b3029cb3cc0f6d1 (patch)
tree13a9ca120e02f365d4a7e2ee527b8d463673f091 /Duplicati/Library/Interface
parent56beda2941fde27055234a95ce7e9a725fec7a9c (diff)
Added a new result code to simplify reporting the same backup result from all modules.
Diffstat (limited to 'Duplicati/Library/Interface')
-rw-r--r--Duplicati/Library/Interface/ResultInterfaces.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/Duplicati/Library/Interface/ResultInterfaces.cs b/Duplicati/Library/Interface/ResultInterfaces.cs
index f49d51079..abdb11cbb 100644
--- a/Duplicati/Library/Interface/ResultInterfaces.cs
+++ b/Duplicati/Library/Interface/ResultInterfaces.cs
@@ -20,6 +20,15 @@ using System.Collections.Generic;
namespace Duplicati.Library.Interface
{
+ public enum ParsedResultType
+ {
+ Unknown,
+ Success,
+ Warning,
+ Error,
+ Fatal
+ }
+
public interface IBasicResults
{
DateTime BeginTime { get; }
@@ -29,6 +38,7 @@ namespace Duplicati.Library.Interface
IEnumerable<string> Errors { get; }
IEnumerable<string> Warnings { get; }
IEnumerable<string> Messages { get; }
+ ParsedResultType ParsedResult { get; }
}
public interface IBackendStatstics