API Reference
Class
BenchmarkCompositionService
Resolves exact benchmark pack assignments for typed target topologies.
Inheritance
- Object
- BenchmarkCompositionService
Methods
public static BenchmarkCompositionPolicy CreateConservativePolicy(IEnumerable<BenchmarkPack> packs, String id = "testimox-conservative") #Returns:
BenchmarkCompositionPolicyCreates a conservative composition policy from exact imported packs.
Parameters
- packs System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.BenchmarkPack}
- id System.String = "testimox-conservative"
public static BenchmarkCompositionResult Resolve(BenchmarkCompositionPolicy policy, IEnumerable<BenchmarkTarget> targets, IEnumerable<BenchmarkPack> packs, IEnumerable<String> explicitlyEnabledRuleIds = null, IEnumerable<BenchmarkControlSet> controlSets = null) #Returns:
BenchmarkCompositionResultResolves one integrity-protected policy against discovered targets and exact installed packs.
Parameters
- policy TestimoX.Benchmarks.Deployment.BenchmarkCompositionPolicy
- targets System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.Targets.BenchmarkTarget}
- packs System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.BenchmarkPack}
- explicitlyEnabledRuleIds System.Collections.Generic.IEnumerable{System.String} = null
- controlSets System.Collections.Generic.IEnumerable{TestimoX.Benchmarks.Execution.BenchmarkControlSet} = null