Class RightHandSideExtensions
Methods for use with the NRules Then() operator. Provide JobFlow actions to take on rule execution.
public static class RightHandSideExtensions
- Inheritance
-
RightHandSideExtensions
Methods
AddJobToGroup(IJobFlowRightHandSideExpression, Expression<Func<JobGroupDefinition>>, Expression<Func<IContext, JobDefinition>>)
Add the JobDefinition returned from the specified method to the specified Job Group. See HaveJobGroup<T>(LeftHandExpression<T>, Expression<Func<JobGroupDefinition>>, string).
public static IJobFlowRightHandSideExpression AddJobToGroup(this IJobFlowRightHandSideExpression rightHandSide, Expression<Func<JobGroupDefinition>> groupAlias, Expression<Func<IContext, JobDefinition>> jobDefinitionFunc)
Parameters
rightHandSide
IJobFlowRightHandSideExpressiongroupAlias
Expression<Func<JobGroupDefinition>>jobDefinitionFunc
Expression<Func<IContext, JobDefinition>>
Returns
AddJobToGroup(IJobFlowRightHandSideExpression, Expression<Func<JobGroupDefinition>>, string)
Add a new Job with the specified name to the specified Job Group. See HaveJobGroup<T>(LeftHandExpression<T>, Expression<Func<JobGroupDefinition>>, string).
public static IJobFlowRightHandSideExpression AddJobToGroup(this IJobFlowRightHandSideExpression rightHandSide, Expression<Func<JobGroupDefinition>> groupAlias, string name)
Parameters
rightHandSide
IJobFlowRightHandSideExpressiongroupAlias
Expression<Func<JobGroupDefinition>>name
string
Returns
AddJobToGroup(IJobFlowRightHandSideExpression, Expression<Func<JobGroupDefinition>>, string, Expression<Func<JobDefinitionSettings>>)
Add a new Job with the specified name and settings to the specified Job Group. See HaveJobGroup<T>(LeftHandExpression<T>, Expression<Func<JobGroupDefinition>>, string).
public static IJobFlowRightHandSideExpression AddJobToGroup(this IJobFlowRightHandSideExpression rightHandSide, Expression<Func<JobGroupDefinition>> groupAlias, string name, Expression<Func<JobDefinitionSettings>> jobDefinitionSettings)
Parameters
rightHandSide
IJobFlowRightHandSideExpressiongroupAlias
Expression<Func<JobGroupDefinition>>name
stringjobDefinitionSettings
Expression<Func<JobDefinitionSettings>>
Returns
CreateGroup(IJobFlowRightHandSideExpression, string)
Create a new Job Group with the specified name.
public static IJobFlowRightHandSideExpression CreateGroup(this IJobFlowRightHandSideExpression rightHandSide, string name)
Parameters
rightHandSide
IJobFlowRightHandSideExpressionname
string
Returns
StartJob(IJobFlowRightHandSideExpression, Expression<Func<IJobFlowContext, JobDefinition>>)
Start a new Job defined by the supplied JobDefinition method.
public static IJobFlowRightHandSideExpression StartJob(this IJobFlowRightHandSideExpression rightHandSide, Expression<Func<IJobFlowContext, JobDefinition>> jobDefinitionFunc)
Parameters
rightHandSide
IJobFlowRightHandSideExpressionjobDefinitionFunc
Expression<Func<IJobFlowContext, JobDefinition>>
Returns
StartJob(IJobFlowRightHandSideExpression, string)
Start a new Job with the specified name.
public static IJobFlowRightHandSideExpression StartJob(this IJobFlowRightHandSideExpression rightHandSide, string name)
Parameters
rightHandSide
IJobFlowRightHandSideExpressionname
string
Returns
StartJob(IJobFlowRightHandSideExpression, string, Expression<Func<JobDefinitionSettings>>)
Start a new Job with the specified name and settings.
public static IJobFlowRightHandSideExpression StartJob(this IJobFlowRightHandSideExpression rightHandSide, string name, Expression<Func<JobDefinitionSettings>> jobDefinitionSettings)
Parameters
rightHandSide
IJobFlowRightHandSideExpressionname
stringjobDefinitionSettings
Expression<Func<JobDefinitionSettings>>