November Happy Hour will be moved to Thursday December 5th.

Class DefaultScheduledJobRepository

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Get, list, save and delete scheduled jobs

Inheritance
System.Object
DefaultScheduledJobRepository
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.DataAbstraction.Internal
Assembly: EPiServer.dll
Version: 11.20.7
Syntax
public class DefaultScheduledJobRepository : IScheduledJobRepository

Constructors

DefaultScheduledJobRepository(SchedulerDB, IScheduledJobEventsRaiser)

Declaration
public DefaultScheduledJobRepository(SchedulerDB dataAccess, IScheduledJobEventsRaiser scheduledJobEvents)
Parameters
Type Name Description
SchedulerDB dataAccess
IScheduledJobEventsRaiser scheduledJobEvents

Methods

Delete(Guid)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Deletes a job by id

Declaration
public virtual void Delete(Guid id)
Parameters
Type Name Description
System.Guid id

Get(Guid)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Get a job by id

Declaration
public virtual ScheduledJob Get(Guid id)
Parameters
Type Name Description
System.Guid id

The id of the job

Returns
Type Description
ScheduledJob

The job, or null if not found

Get(String, String, String)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Get a job by method, type name and assembly

Declaration
public virtual ScheduledJob Get(string method, string typeName, string assemblyName)
Parameters
Type Name Description
System.String method

The method to call.

System.String typeName

Name of the class where method lives.

System.String assemblyName

Name of the assembly where the class is defined.

Returns
Type Description
ScheduledJob

A ScheduledJob instance if a matching job is found, otherwise null.

List()

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Retrieves a list of all available jobs

Declaration
public virtual IEnumerable<ScheduledJob> List()
Returns
Type Description
System.Collections.Generic.IEnumerable<ScheduledJob>

LoadLog(Guid)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Loads log information for the ScheduledJob.

Declaration
public virtual DataTable LoadLog(Guid id)
Parameters
Type Name Description
System.Guid id
Returns
Type Description
System.Data.DataTable

A System.Data.DataTable containing log data where each row represents a log event.

Save(ScheduledJob)

Unsupported INTERNAL API! Not covered by semantic versioning; might change without notice. Saves job information or creates a new job

Declaration
public virtual void Save(ScheduledJob job)
Parameters
Type Name Description
ScheduledJob job

Implements

Extension Methods