org.gwe.utils.security
Enum RealmTestResult

java.lang.Object
  extended by java.lang.Enum<RealmTestResult>
      extended by org.gwe.utils.security.RealmTestResult
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RealmTestResult>

public enum RealmTestResult
extends java.lang.Enum<RealmTestResult>

Since:
Jan 12, 2009
Author:
Marco Ruiz

Enum Constant Summary
ERROR
           
MISSING_ACCOUNT
           
MISSING_PASSKEY
           
MISSING_TEST_HOST
           
NO_SSH_REALM
           
OK
           
 
Method Summary
 java.lang.String getMessage()
           
static RealmTestResult valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RealmTestResult[] values()
          Returns an array containing the constants of this enum type, in the order they're declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

OK

public static final RealmTestResult OK

MISSING_ACCOUNT

public static final RealmTestResult MISSING_ACCOUNT

MISSING_PASSKEY

public static final RealmTestResult MISSING_PASSKEY

MISSING_TEST_HOST

public static final RealmTestResult MISSING_TEST_HOST

NO_SSH_REALM

public static final RealmTestResult NO_SSH_REALM

ERROR

public static final RealmTestResult ERROR
Method Detail

values

public static final RealmTestResult[] values()
Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants as follows:
for(RealmTestResult c : RealmTestResult.values())
        System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they're declared

valueOf

public static RealmTestResult 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

getMessage

public java.lang.String getMessage()


Copyright © 2007-2009. All Rights Reserved.