// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// SPDX-License-Identifier: Apache-2.0
using System.Threading.Tasks;
namespace AWS.Deploy.Orchestration.RecommendationEngine
{
///
/// The base class for all recommendation tests used to run the logic for a model test to see if a recipe is valid for a given project.
/// The RecommendationEngine will load up all types that extends from this base class and register them by their Name.
///
public abstract class BaseRecommendationTest
{
///
/// The name of the test. This will match the value used in recipes when defining the test they want to perform.
///
public abstract string Name { get; }
///
/// Executes the test
///
///
/// True for successful test pass, otherwise false.
public abstract Task Execute(RecommendationTestInput input);
}
}