• Home
  • Articles
  • Modules
  • Writing extensions
  • Questions
Home
Articles
Modules
Writing extensions
Questions

IStartupTask

Startup tasks are tasks which Veva runs every time the Veva instance is started.

Interface declaration

	public interface IStartupTask
	{
		bool Recurring { get; }
		bool RunOnAllServers { get; }
		RecurrenceInterval RecurrenceInterval { get; }
		Task Run();
	}

Example


Registration

This is how the implementation is registered into the DI container in Veva, this should be done in your module config file (The class which implements IModule).


Other interfaces

  • IComponentInitializer
  • IModelTemplate
  • IDocumentExporter
  • IDocumentViewEndpoint
  • IDocumentView
  • IManuallyTriggeredHandler
  • IDocumentUpdatedHandler
  • IDocumentHandler
  • IDocumentEnrichmentHandler
  • IDocumentDeletedHandler
  • IDocumentAddedHandler
  • IDataSourceParser
  • IDataSource
  • ITextProcessor
  • ITask
  • IStartupTask
  • IEmailSenderService
  • IPageSettings
  • IColorPalette
  • INavigationProvider
  • ISettings
  • IPropertyEditorResolver
  • IPageRequestHook
  • IFormValueAggregator
  • IFieldType
  • IExternalAuthenticationServiceLink
  • ICustomFormValidator
  • ICustomFormFieldValidator
  • IContentTemplate
  • IContentResolver
  • IEventSubscriber
  • IChartDataSource
  • IComponentRenderCondition
  • ISelectListValueProvider
  • ILinkSourceAdditionalParameters
  • ILinkSource
  • IIconProvider
  • IContentRenderHook
  • IAuthenticationHook