Class RightHandSideExtensions
Methods for use with the NRules Then() operator. Provide JobFlow actions to take on rule execution.
public static class RightHandSideExtensions
- Inheritance
-
objectRightHandSideExtensions
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
rightHandSideIJobFlowRightHandSideExpressiongroupAliasExpression<Func<JobGroupDefinition>>jobDefinitionFuncExpression<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
rightHandSideIJobFlowRightHandSideExpressiongroupAliasExpression<Func<JobGroupDefinition>>namestring
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
rightHandSideIJobFlowRightHandSideExpressiongroupAliasExpression<Func<JobGroupDefinition>>namestringjobDefinitionSettingsExpression<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
rightHandSideIJobFlowRightHandSideExpressionnamestring
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
rightHandSideIJobFlowRightHandSideExpressionjobDefinitionFuncExpression<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
rightHandSideIJobFlowRightHandSideExpressionnamestring
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
rightHandSideIJobFlowRightHandSideExpressionnamestringjobDefinitionSettingsExpression<Func<JobDefinitionSettings>>