de.cau.cs.kieler.kwebs.client
Enum ServerConfigs.ServerConfigError

java.lang.Object
  extended by java.lang.Enum<ServerConfigs.ServerConfigError>
      extended by de.cau.cs.kieler.kwebs.client.ServerConfigs.ServerConfigError
All Implemented Interfaces:
Comparable<ServerConfigs.ServerConfigError>
Enclosing class:
ServerConfigs

public static enum ServerConfigs.ServerConfigError
extends Enum<ServerConfigs.ServerConfigError>

Error constants for the validity test on a server configuration.

Rating red

Enum Constant Summary
ERROR_INVALIDADDRESS
          Error constant for an invalid server configuration address.
ERROR_INVALIDNAME
          Error constant for an invalid server configuration name.
ERROR_NOPROTOCOL
          Error constant for no protocol defined in server configuration address.
ERROR_NOSERVERCONFIG
          Error constant for an invalid server configuration name.
ERROR_NOTRUSTSTORE
          Error constant for no trust store given on HTTPS based server configuration.
ERROR_NOTRUSTSTOREPASS
          Error constant for no trust store password given on HTTPS based server configuration.
ERROR_OK
          Error constant for a valid server configuration.
ERROR_PROTOCOLNOTSUPPORTED
          Error constant for an unsupported protocol in server configuration address.
 
Method Summary
static ServerConfigs.ServerConfigError valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ServerConfigs.ServerConfigError[] 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

ERROR_OK

public static final ServerConfigs.ServerConfigError ERROR_OK
Error constant for a valid server configuration.


ERROR_NOSERVERCONFIG

public static final ServerConfigs.ServerConfigError ERROR_NOSERVERCONFIG
Error constant for an invalid server configuration name.


ERROR_INVALIDNAME

public static final ServerConfigs.ServerConfigError ERROR_INVALIDNAME
Error constant for an invalid server configuration name.


ERROR_INVALIDADDRESS

public static final ServerConfigs.ServerConfigError ERROR_INVALIDADDRESS
Error constant for an invalid server configuration address.


ERROR_NOTRUSTSTORE

public static final ServerConfigs.ServerConfigError ERROR_NOTRUSTSTORE
Error constant for no trust store given on HTTPS based server configuration.


ERROR_NOTRUSTSTOREPASS

public static final ServerConfigs.ServerConfigError ERROR_NOTRUSTSTOREPASS
Error constant for no trust store password given on HTTPS based server configuration.


ERROR_NOPROTOCOL

public static final ServerConfigs.ServerConfigError ERROR_NOPROTOCOL
Error constant for no protocol defined in server configuration address.


ERROR_PROTOCOLNOTSUPPORTED

public static final ServerConfigs.ServerConfigError ERROR_PROTOCOLNOTSUPPORTED
Error constant for an unsupported protocol in server configuration address.

Method Detail

values

public static ServerConfigs.ServerConfigError[] 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 (ServerConfigs.ServerConfigError c : ServerConfigs.ServerConfigError.values())
    System.out.println(c);

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

valueOf

public static ServerConfigs.ServerConfigError 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 name
NullPointerException - if the argument is null