public class RuleProperties extends Object
Modifier and Type | Method and Description |
---|---|
RuleAction |
getAction()
Gets the action to perform if the message satisfies the filtering expression.
|
RuleFilter |
getFilter()
Gets the filter expression used to match messages.
|
String |
getName()
Gets the name of the rule.
|
RuleProperties |
setAction(RuleAction action)
Sets the action to perform if the message satisfies the filtering expression.
|
RuleProperties |
setFilter(RuleFilter filter)
Sets the filter expression used to match messages.
|
public RuleFilter getFilter()
public RuleProperties setFilter(RuleFilter filter)
filter
- the filter expression used to match messages.RuleProperties
object itself.NullPointerException
- if filter
is null.public String getName()
public RuleAction getAction()
public RuleProperties setAction(RuleAction action)
action
- The action to perform if the message satisfies the filtering expression.RuleProperties
object itself.Copyright © 2021 Microsoft Corporation. All rights reserved.