public enum CommandRegistry extends Enum<CommandRegistry>
Enum Constant and Description |
---|
AUTH |
DATA |
EHLO |
HELO |
HELP |
MAIL |
NOOP |
QUIT |
RCPT |
RSET |
STARTTLS |
VRFY |
Modifier and Type | Method and Description |
---|---|
Command |
getCommand() |
static CommandRegistry |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CommandRegistry[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CommandRegistry AUTH
public static final CommandRegistry DATA
public static final CommandRegistry EHLO
public static final CommandRegistry HELO
public static final CommandRegistry HELP
public static final CommandRegistry MAIL
public static final CommandRegistry NOOP
public static final CommandRegistry QUIT
public static final CommandRegistry RCPT
public static final CommandRegistry RSET
public static final CommandRegistry STARTTLS
public static final CommandRegistry VRFY
public static CommandRegistry[] values()
for (CommandRegistry c : CommandRegistry.values()) System.out.println(c);
public static CommandRegistry valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic Command getCommand()
Copyright © 2006–2019. All rights reserved.