Package de.xima.fc.mdl.enums
Enum EMailServerScope
- java.lang.Object
-
- java.lang.Enum<EMailServerScope>
-
- de.xima.fc.mdl.enums.EMailServerScope
-
- All Implemented Interfaces:
Serializable
,Comparable<EMailServerScope>
public enum EMailServerScope extends Enum<EMailServerScope>
The scope of aIMailServerData
, indicating in which scope the mail server was configured.- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EMailServerScope
valueOf(String name)
Returns the enum constant of this type with the specified name.static EMailServerScope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SYSTEM
public static final EMailServerScope SYSTEM
A mail server configured in the system scope.
-
CLIENT
public static final EMailServerScope CLIENT
A mail server configured in the scope of a client.
-
CUSTOM
public static final EMailServerScope CUSTOM
A custom scope.
-
-
Method Detail
-
values
public static EMailServerScope[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (EMailServerScope c : EMailServerScope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EMailServerScope valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-