Otter SDK Reference
Version:

IComparingOperation Interface

Represents an operation that utilizes a Inedo.Otter.Extensibility.Configurations.PersistedConfiguration as a template and compares its template against actual configuration.

Inheritance Hierarchy

  • Inedo.Otter.Extensibility.Operations.IComparingOperation

Syntax

public interface IComparingOperation : ICollectingOperation

Methods

Name Description
Compare(Inedo.Otter.Extensibility.Configurations.PersistedConfiguration actual)

Compares actual configuration from a server against the operation's template configuration.

GetConfigurationTemplate

Returns the desired state of a configuration.

StoreConfigurationStatus(Inedo.Otter.Extensibility.Configurations.PersistedConfiguration actual, Inedo.Otter.Extensibility.Configurations.ComparisonResult results, Inedo.Otter.Extensibility.Configurations.ConfigurationPersistenceContext context)

Stores the configuration status based on a comparison of the operation's template configuration.