org.opencms.gwt.shared.alias
Enum CmsAliasImportStatus

java.lang.Object
  extended by java.lang.Enum<CmsAliasImportStatus>
      extended by 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
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
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
java.lang.NullPointerException - if the argument is null