Table of Contents

Class LineageGlueRule

Namespace
Ranorex.Core
Assembly
Ranorex.Core.dll

Represents a tree element creation rule.

public abstract class LineageGlueRule : Descriptor, IEquatable<Descriptor>, IComparable<Descriptor>
Inheritance
LineageGlueRule
Implements
Derived
Inherited Members

Constructors

LineageGlueRule(string, string, string, string, Action)

Creates a new rule (with no before/after dependencies).

protected LineageGlueRule(string displayName, string description, string sourceFlavorName, string outputFlavorName, LineageGlueRule.Action action)

Parameters

displayName string

The name of rule.

description string

A short description of the rule.

sourceFlavorName string

The name of the flavor this rule applies to.

outputFlavorName string

The name of the flavor to which the created elements belong to.

action LineageGlueRule.Action

The action performed by the glue rule upon execution.

LineageGlueRule(string, string, string, string, Action, string[], string[])

Creates a new rule.

protected LineageGlueRule(string displayName, string description, string sourceFlavorName, string outputFlavorName, LineageGlueRule.Action action, string[] after, string[] before)

Parameters

displayName string

The name of rule.

description string

A short description of the rule.

sourceFlavorName string

The name of the flavor this rule applies to.

outputFlavorName string

The name of the flavor to which the created elements belong to.

action LineageGlueRule.Action

The action this glue rule performs.

after string[]

A list of rule names which are required to be executed before this rule. Only rules registered for the same source flavor can be specified (topological sorting within source flavor).

before string[]

A list of rule names which are required to be executed after this rule. Only rules registered for the same source flavor can be specified (topological sorting within source flavor).

Properties

After

A list of rule names which are required to be executed before this rule.

public IList<string> After { get; }

Property Value

IList<string>

Remarks

Only rules registered for the same source flavor will be considered (topological sorting within source flavor).

Before

A list of rule names which are required to be executed after this rule.

public IList<string> Before { get; }

Property Value

IList<string>

Remarks

Only rules registered for the same source flavor will be considered (topological sorting within source flavor).

ExecutionAction

Gets the action this glue rule performs on the source element and/or element bucket upon execution.

public LineageGlueRule.Action ExecutionAction { get; }

Property Value

LineageGlueRule.Action

The execution action.

OutputFlavor

The name of the flavor to which the created elements belong to.

public Flavor OutputFlavor { get; }

Property Value

Flavor

SourceFlavor

The name of the flavor this rule applies to.

public Flavor SourceFlavor { get; }

Property Value

Flavor

Methods

Execute(GlueRuleExecutionState)

Executes the rule.

public abstract void Execute(GlueRuleExecutionState state)

Parameters

state GlueRuleExecutionState

The current rule execution state.

Remarks

This has to be implemented by the rule classes.