public class MailboxStatusAction extends AbstractManagerAction
The MailboxStatusAction returns a MailboxStatusResponse.
MailboxStatusResponse,
Serialized Form| Constructor and Description |
|---|
MailboxStatusAction()
Creates a new empty MailboxStatusAction.
|
MailboxStatusAction(String mailbox)
Creates a new MailboxStatusAction that checks for waiting 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 MailboxStatusAction()
public MailboxStatusAction(String mailbox)
mailbox - the name of the mailbox to check.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 name of the mailbox or a string of the form mailboxnumber@context. If no context is specified "default" is assumed.
Multiple mailboxes may be given, separated by ','. In this case the action checks whether at least one of the given mailboxes has waiting messages.
This property is mandatory.
Example: "1234,1235@mycontext"
Copyright © 2004–2024. All rights reserved.