org.apache.james.mailbox
Class MailboxListener.MailboxRenamed

java.lang.Object
  extended by org.apache.james.mailbox.MailboxListener.Event
      extended by org.apache.james.mailbox.MailboxListener.MailboxRenamed
Enclosing interface:
MailboxListener

public abstract static class MailboxListener.MailboxRenamed
extends MailboxListener.Event

Indicates that a mailbox has been renamed.


Constructor Summary
MailboxListener.MailboxRenamed(long sessionId, MailboxPath path)
           
 
Method Summary
abstract  MailboxPath getNewPath()
          Gets the new name for this mailbox.
 
Methods inherited from class org.apache.james.mailbox.MailboxListener.Event
getMailboxPath, getSessionId
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MailboxListener.MailboxRenamed

public MailboxListener.MailboxRenamed(long sessionId,
                                      MailboxPath path)
Method Detail

getNewPath

public abstract MailboxPath getNewPath()
Gets the new name for this mailbox.

Returns:
name, not null


Copyright © 2002-2010 The Apache Software Foundation. All Rights Reserved.