public class MailboxCountAction extends AbstractManagerAction
The MailboxCountAction returns a MailboxStatusResponse.
MailboxCountResponse,
Serialized Form| Constructor and Description |
|---|
MailboxCountAction()
Creates a new empty MailboxCountAction.
|
MailboxCountAction(String mailbox)
Creates a new MailboxCountAction that queries the number of unread and
read messages in the given mailbox.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAction()
Returns the name of this action, i.e.
|
String |
getMailbox()
Returns the name of the mailbox to query.
|
void |
setMailbox(String mailbox)
Sets the name of the mailbox to query.
|
getActionId, setActionId, toStringpublic MailboxCountAction()
public MailboxCountAction(String mailbox)
mailbox - the name of the mailbox to query.This can either be only the number of the mailbox or a string of the form mailboxnumber@context. If no context is specified "default" is assumed.
public String getAction()
getAction in interface ManagerActiongetAction in class AbstractManagerActionpublic String getMailbox()
public void setMailbox(String mailbox)
This can either be only the number of the mailbox or a string of the form mailboxnumber@context.If no context is specified "default" is assumed.
This property is mandatory.
Copyright © 2004–2022. All rights reserved.