public enum MailSensitivity extends Enum<MailSensitivity>
Specifies the sensitivity of a MailMessage.
Enum Constant and Description |
---|
CompanyConfidential
Sets the sensitivity to CompanyConfidential.
|
None
No Sensitivity set.
|
Normal
The normal sensitivity.
|
Personal
Sets the sensitivity to Personal.
|
Private
Sets the sensitivity to Private.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue()
Getter for the field
value . |
static MailSensitivity |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MailSensitivity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MailSensitivity None
No Sensitivity set.
public static final MailSensitivity Normal
The normal sensitivity.
public static final MailSensitivity Personal
Sets the sensitivity to Personal.
public static final MailSensitivity Private
Sets the sensitivity to Private.
public static final MailSensitivity CompanyConfidential
Sets the sensitivity to CompanyConfidential.
public static MailSensitivity[] values()
for (MailSensitivity c : MailSensitivity.values()) System.out.println(c);
public static MailSensitivity 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 int getValue()
Getter for the field value
.