public class MailboxCountAction extends AbstractManagerAction
The MailboxCountAction returns a MailboxStatusResponse.
MailboxCountResponse
,
Serialized FormConstructor 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, toString
public 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 ManagerAction
getAction
in class AbstractManagerAction
public String getMailbox()
public void setMailbox(String mailbox)
This can either be only the number of the mailbox or a string of the form [email protected] no context is specified "default" is assumed.
This property is mandatory.
Copyright © 2004–2017. All rights reserved.