RuleDescription 构造函数

定义

重载

RuleDescription()

Creates a rule description with no name, TrueFilter as filter and no action.

RuleDescription(Filter filter)

Creates a rule description with no name, given filter as filter and no action.

RuleDescription(String name)

Creates a rule description with the given name, TrueFilter as filter and no action.

RuleDescription(String name, Filter filter)

Creates a rule description with the given name, given filter as filter and no action.

RuleDescription()

Creates a rule description with no name, TrueFilter as filter and no action.

public RuleDescription()

RuleDescription(Filter filter)

Creates a rule description with no name, given filter as filter and no action.

public RuleDescription(Filter filter)

参数

filter
Filter

filter the rule uses to filter messages. Can be CorrelationFilter or SqlFilter.

RuleDescription(String name)

Creates a rule description with the given name, TrueFilter as filter and no action.

public RuleDescription(String name)

参数

name
String

name of the rule

RuleDescription(String name, Filter filter)

Creates a rule description with the given name, given filter as filter and no action.

public RuleDescription(String name, Filter filter)

参数

name
String

name of the rule

filter
Filter

filter this rule uses to filter messages. Can be Can be CorrelationFilter or SqlFilter.

适用于