Package org.opencms.gwt.shared.alias
Enum CmsAliasImportStatus
- java.lang.Object
-
- java.lang.Enum<CmsAliasImportStatus>
-
- org.opencms.gwt.shared.alias.CmsAliasImportStatus
-
- All Implemented Interfaces:
com.google.gwt.user.client.rpc.IsSerializable
,java.io.Serializable
,java.lang.Comparable<CmsAliasImportStatus>
public enum CmsAliasImportStatus extends java.lang.Enum<CmsAliasImportStatus> implements com.google.gwt.user.client.rpc.IsSerializable
The status for the result of an alias import operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description aliasChanged
The alias target or mode has changed.aliasImportError
The alias could not be imported.aliasNew
The alias was newly created.aliasParseError
The alias line could not be parsed.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsAliasImportStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static CmsAliasImportStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
aliasChanged
public static final CmsAliasImportStatus aliasChanged
The alias target or mode has changed.
-
aliasImportError
public static final CmsAliasImportStatus aliasImportError
The alias could not be imported.
-
aliasNew
public static final CmsAliasImportStatus aliasNew
The alias was newly created.
-
aliasParseError
public static final CmsAliasImportStatus aliasParseError
The alias line could not be parsed.
-
-
Method Detail
-
values
public static CmsAliasImportStatus[] 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 (CmsAliasImportStatus c : CmsAliasImportStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CmsAliasImportStatus valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-