Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

oracle.javatools.db
Enum DBCore.Mode

java.lang.Object
  extended by java.lang.Enum<DBCore.Mode>
      extended by oracle.javatools.db.DBCore.Mode
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<DBCore.Mode>
Enclosing class:
DBCore

public static enum DBCore.Mode
extends java.lang.Enum<DBCore.Mode>

The mode for the API - either command line, headless or full ide. This is controlled and set by the oracle.ide.db extension in the product.


Enum Constant Summary
CMDLINE
          The IDE is not running.
FULL
          The IDE is running in full (GUI) mode.
HEADLESS
          The IDE is running in headless mode.
 
Method Summary
static DBCore.Mode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static DBCore.Mode[] 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

CMDLINE

public static final DBCore.Mode CMDLINE
The IDE is not running.


HEADLESS

public static final DBCore.Mode HEADLESS
The IDE is running in headless mode.


FULL

public static final DBCore.Mode FULL
The IDE is running in full (GUI) mode.

Method Detail

values

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

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

valueOf

public static DBCore.Mode 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

Oracle Fusion Middleware Java API Reference for Oracle Extension SDK Reference
11g Release 1 (11.1.1.6.0)

E13403-07

Copyright © 1997, 2011, Oracle. All rights reserved.