Table of Contents

Class RepositoryScheduledTaskAddIn

Namespace
Dynamicweb.Indexing.ScheduledTaskAddIns
Assembly
Dynamicweb.Core.dll
[AddInName("RepositoryAddIn")]
[AddInLabel("Build repository index")]
[AddInDescription("Repository scheduled task provider")]
public class RepositoryScheduledTaskAddIn : BaseScheduledTaskAddIn, IParameterOptions, IDynamicParameterOptions
Inheritance
RepositoryScheduledTaskAddIn
Implements
Inherited Members

Properties

PrimaryBuild

Gets or sets index build

[AddInLabel("Build")]
[AddInParameter("PrimaryBuild")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "DynamicOptions=true")]
public string PrimaryBuild { get; set; }

Property Value

string

RepositoryIndex

Gets or sets repository index

[AddInLabel("Index")]
[AddInParameter("RepositoryIndex")]
[AddInParameterEditor(typeof(GroupedDropDownParameterEditor), "SortBy=group,value;reloadOnChange=true;")]
public string RepositoryIndex { get; set; }

Property Value

string

SecondaryBuild

Gets or sets index secondary build

[AddInLabel("Secondary build")]
[AddInParameter("SecondaryBuild")]
[AddInParameterEditor(typeof(DropDownParameterEditor), "DynamicOptions=true")]
public string SecondaryBuild { get; set; }

Property Value

string

TimeToBuildSecondary

Gets or sets time to secondary build

[AddInLabel("Time to build secondary")]
[AddInParameter("TimeToBuildSecondary")]
[AddInParameterEditor(typeof(TextParameterEditor), "type=time;required")]
public string TimeToBuildSecondary { get; set; }

Property Value

string

Methods

Run()

Main method in ScheduledTask Addin - is run when scheduled Task is run

public override bool Run()

Returns

bool
To top