RuleDescription 类
定义
Representation of a rule defined on service bus topics.
public class RuleDescription
- 继承
-
java.lang.ObjectRuleDescription
构造函数
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.
|
方法
equals(Object other) | |
getAction() |
Gets the action this rule performs on messages matched by this rule's filter.
|
getFilter() |
Gets the filter of this rule.
|
getName() |
Gets the name of this rule.
|
hashCode() | |
setAction(RuleAction action) |
Sets the action this rule performs on messages matched by this rule's filter.
|
setFilter(Filter filter) |
Sets the filter of this rule.
|
setName(String name) |
Sets the name of this rule.
|