Click or drag to resize

IConfigurationTask Interface

Defines a structure for a single atomic configuration task

Namespace:  SanteDB.Core.Configuration
Assembly:  SanteDB.Core.Api (in SanteDB.Core.Api.dll) Version: 2.2.1
Syntax
public interface IConfigurationTask : IReportProgressChanged

The IConfigurationTask type exposes the following members.

Properties
  NameDescription
Public propertyDescription
Get description of the task
Public propertyFeature
Gets the feature that this task configures
Public propertyName
Get the name of the task to show on the user interface
Top
Methods
  NameDescription
Public methodExecute
Execute the configuration task on configuration
Public methodRollback
Rollback changes in the specified configuration
Public methodVerifyState
Verify the task against configuration
Top
Events
  NameDescription
Public eventProgressChanged
Fired when the progress of this instance has changed
(Inherited from IReportProgressChanged.)
Top
Remarks

The configuration task represents a single operation which modifies the execution or configuration environment to enable or remove a particular feature to/from the context. Individual configuration tasks can be disabled by administrators, therefore common task operations (like enabling a service and adding its configuration section) should be grouped together.

See Also