using Cake.Common.Build.Bamboo.Data;
using Cake.Core.IO;

namespace Cake.Common.Build.Bamboo
{
    /// <summary>
    /// Represents a Bamboo provider.
    /// </summary>
    public interface IBambooProvider
    {
        /// <summary>
        /// Gets a value indicating whether the current build is running on Bamboo.
        /// </summary>
        /// <value>
        /// <c>true</c> if the current build is running on Bamboo; otherwise, <c>false</c>.
        /// </value>
        bool IsRunningOnBamboo { get; }

        /// <summary>
        /// Gets the Bamboo environment.
        /// </summary>
        /// <value>
        /// The Bamboo environment.
        /// </value>
        BambooEnvironmentInfo Environment { get; }
    }
}