SK.gnome.dwarf.mail.store.cmd
Class CheckCmd

java.lang.Object
  extended bySK.gnome.dwarf.GenericService
      extended bySK.gnome.dwarf.thread.ThreadService
          extended bySK.gnome.dwarf.main.Command
              extended bySK.gnome.dwarf.mail.store.cmd.CheckCmd
All Implemented Interfaces:
java.lang.Runnable, SK.gnome.dwarf.Service

public class CheckCmd
extends SK.gnome.dwarf.main.Command

Checks the mail store.

This command checks the mail store integrity of the given user. It recurses the folder hierarchy and checks all messages for possible syntax (or other) errors. It prints out simple statistics for each folder processed. It may be used in debugging problems with accesing the given mail store(s).


Field Summary
 
Fields inherited from class SK.gnome.dwarf.thread.ThreadService
daemon, thread
 
Fields inherited from class SK.gnome.dwarf.GenericService
initParameters, parent
 
Fields inherited from interface SK.gnome.dwarf.Service
INITIALIZED, LOG_DEBUG, LOG_ERROR, LOG_FATAL, LOG_INFO, LOG_TRACE, LOG_WARN, LOG_XFER, SHUTDOWN, STARTED, STOPPED
 
Constructor Summary
CheckCmd(java.lang.String name)
          Creates a new QueueCmd.
 
Method Summary
protected  void execute(javax.security.auth.Subject subject, SK.gnome.dwarf.Service service, java.lang.String[] args, java.io.Writer out)
           
 java.lang.String getDescription()
           
 void init(SK.gnome.dwarf.Server parent)
           
 void printHelp(java.io.PrintWriter out)
           
 
Methods inherited from class SK.gnome.dwarf.thread.ThreadService
enableThread, finish, loop, run, setDaemon, shutdown, start, stop
 
Methods inherited from class SK.gnome.dwarf.GenericService
getAuthenticator, getAuthFacility, getFullName, getInitParameter, getInitParameterNames, getLogFacility, getLogger, getName, getParameters, getPrincipal, getShutdownTimeout, getState, log, log, login, logout, setAuthFacility, setInitParameters, setLogFacility, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CheckCmd

public CheckCmd(java.lang.String name)
Creates a new QueueCmd.

Method Detail

getDescription

public java.lang.String getDescription()

printHelp

public void printHelp(java.io.PrintWriter out)

init

public void init(SK.gnome.dwarf.Server parent)
          throws SK.gnome.dwarf.ServiceException
Throws:
SK.gnome.dwarf.ServiceException

execute

protected void execute(javax.security.auth.Subject subject,
                       SK.gnome.dwarf.Service service,
                       java.lang.String[] args,
                       java.io.Writer out)
                throws SK.gnome.dwarf.main.CommandException
Throws:
SK.gnome.dwarf.main.CommandException


Copyright (c) 2004-2005, Gnome Ltd. All rights reserved.