com.atlassian.confluence.it
Enum Database.Product

java.lang.Object
  extended by java.lang.Enum<Database.Product>
      extended by com.atlassian.confluence.it.Database.Product
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Database.Product>
Enclosing class:
Database

public static enum Database.Product
extends java.lang.Enum<Database.Product>


Enum Constant Summary
DB2
           
HSQLDB
           
MYSQL
           
ORACLE
           
POSTGRES
           
SQL_SERVER
           
 
Method Summary
 boolean matches(java.lang.String toTest)
           
static Database.Product valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Database.Product[] 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

DB2

public static final Database.Product DB2

HSQLDB

public static final Database.Product HSQLDB

MYSQL

public static final Database.Product MYSQL

ORACLE

public static final Database.Product ORACLE

POSTGRES

public static final Database.Product POSTGRES

SQL_SERVER

public static final Database.Product SQL_SERVER
Method Detail

values

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

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

valueOf

public static Database.Product 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

matches

public boolean matches(java.lang.String toTest)


Copyright © 2003-2014 Atlassian. All Rights Reserved.