votorola.a.register
Class CR_Unset

java.lang.Object
  extended by CommandResponder.Base
      extended by CR_Set
          extended by CR_Unset
All Implemented Interfaces:
CommandResponder

public final class CR_Unset
extends CR_Set

Responder for the command 'unset' - to unset the value of a register field, erasing it.

See Also:
http://zelea.com/project/votorola/a/mail/guide.xht#unset

Nested Class Summary
 
Nested classes/interfaces inherited from interface CommandResponder
CommandResponder.AnonymousIssueException, CommandResponder.Base, CommandResponder.Session, CommandResponder.X
 
Field Summary
 
Fields inherited from class CommandResponder.Base
electoralService, keyPrefix
 
Constructor Summary
CR_Unset(Register register)
          Constructs a CR_Unset.
 
Method Summary
 void help(CommandResponder.Session session)
          Calls X.
 Exception respond(String[] argv, CommandResponder.Session session)
          Responds to an invocation of the command.
 
Methods inherited from class CR_Set
commitFieldAndEcho, compileOptions, register
 
Methods inherited from class CommandResponder.Base
acceptsAnonymousIssue, canonicalEmail, commandName, compileBaseOptions, parse
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CR_Unset

CR_Unset(Register register)
Constructs a CR_Unset.

Method Detail

help

public void help(CommandResponder.Session session)
Description copied from class: CommandResponder.Base
Calls X.helpDefault(keyPrefix,session).

Specified by:
help in interface CommandResponder
Overrides:
help in class CR_Set

respond

public Exception respond(String[] argv,
                         CommandResponder.Session session)
Description copied from interface: CommandResponder
Responds to an invocation of the command.

Specified by:
respond in interface CommandResponder
Overrides:
respond in class CR_Set
Parameters:
argv - array of command name (index 0) and any arguments (indeces 1..*)
Returns:
any soft exception, of temporary cause (which might clear up on a retry); or null if none occured