C# Class Rock.Jobs.LaunchWorkflow

Inheritance: Rock.Web.UI.RockBlock, IJob
Mostra file Open project: NewSpring/Rock

Public Methods

Method Description
Execute ( IJobExecutionContext context ) : void

Job that will launch a workflow. Called by the IScheduler when a ITrigger fires that is associated with the IJob.

LaunchWorkflow ( ) : System

Empty constructor for job initialization

Jobs require a public empty constructor so that the scheduler can instantiate the class whenever it needs.

Protected Methods

Method Description
LaunchTheWorkflow ( string workflowName, IJobExecutionContext context ) : void

Launch the workflow

Method Details

Execute() public method

Job that will launch a workflow. Called by the IScheduler when a ITrigger fires that is associated with the IJob.
public Execute ( IJobExecutionContext context ) : void
context IJobExecutionContext
return void

LaunchTheWorkflow() protected method

Launch the workflow
protected LaunchTheWorkflow ( string workflowName, IJobExecutionContext context ) : void
workflowName string
context IJobExecutionContext
return void

LaunchWorkflow() public method

Empty constructor for job initialization

Jobs require a public empty constructor so that the scheduler can instantiate the class whenever it needs.

public LaunchWorkflow ( ) : System
return System