public class SomQmgrSelector
extends java.lang.Object
Constructor and Description |
---|
SomQmgrSelector()
Create a new empty Selector object
|
Modifier and Type | Method and Description |
---|---|
void |
addChannelName(java.lang.String value)
Add a channel name specification to a Selector
|
void |
addChannelRegexp(java.lang.String value)
Add a channel name regular expression specification to a Selector
|
void |
addMessageName(java.lang.String value)
Add a message name (queueid) specification to a Selector
|
void |
addMessageRegexp(java.lang.String value)
Add a message id (queueid) regular expression specification to a Selector
|
void |
addMtaName(java.lang.String value)
Add an MTA name specification to a Selector
|
void |
addMtaRegexp(java.lang.String value)
Add an MTA name regular expression specification to a Selector
|
void |
addParam(java.lang.String type,
java.lang.Integer value)
Add an arbitrary attribute specification to a selector
|
void |
addRecipientNumber(java.lang.Integer value)
Add a recipient number specification to a Selector
|
void |
addSizeLimit(java.lang.Integer value)
Add a sizelimit constraint to a Selector
|
java.lang.String |
print(int context)
Generate the string representation of the Selector, for use in a command
|
public void addSizeLimit(java.lang.Integer value)
value
- sizelimit value in bytespublic void addChannelName(java.lang.String value)
value
- channel name which may not be nullpublic void addMtaName(java.lang.String value)
value
- MTA name which may not be nullpublic void addMessageName(java.lang.String value)
value
- Message name which may not be nullpublic void addRecipientNumber(java.lang.Integer value)
value
- Recipient numberpublic void addChannelRegexp(java.lang.String value)
value
- channel name regexp which may not be nullpublic void addMtaRegexp(java.lang.String value)
value
- MTA name regexp which may not be nullpublic void addMessageRegexp(java.lang.String value)
value
- message name regexp which may not be nullpublic void addParam(java.lang.String type, java.lang.Integer value)
type
- Attribute type name which may not be nullvalue
- Attribute value which may not be nullpublic java.lang.String print(int context) throws SomException
context
- Context in which to print the SelectorSomException
- on errorVersion: 18.0v6-0
Copyright (c) 2017-2020 Isode