summaryrefslogtreecommitdiff
path: root/src/api/burn/WixToolset.Mba.Core/IBundleInfo.cs
blob: 3227b72d5d0ca7bcb85a0c10efbe627b0b564c35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.

namespace WixToolset.Mba.Core
{
    using System.Collections.Generic;

    /// <summary>
    /// BA manifest data.
    /// </summary>
    public interface IBundleInfo
    {
        /// <summary>
        /// 
        /// </summary>
        string LogVariable { get; }

        /// <summary>
        /// 
        /// </summary>
        string Name { get; }

        /// <summary>
        /// 
        /// </summary>
        IOverridableVariables OverridableVariables { get; }

        /// <summary>
        /// 
        /// </summary>
        IDictionary<string, IPackageInfo> Packages { get; }

        /// <summary>
        /// 
        /// </summary>
        bool PerMachine { get; }

        /// <summary>
        /// Adds a related bundle as a package.
        /// </summary>
        /// <param name="e"></param>
        /// <returns>The created <see cref="IPackageInfo"/>.</returns>
        IPackageInfo AddRelatedBundleAsPackage(DetectRelatedBundleEventArgs e);

        /// <summary>
        /// Adds an update bundle as a package.
        /// </summary>
        /// <param name="e"></param>
        /// <returns>The created <see cref="IPackageInfo"/>.</returns>
        IPackageInfo AddUpdateBundleAsPackage(SetUpdateCompleteEventArgs e);
    }
}