Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
11g Release 2 (11.1.2.1.0)

E17493-02

oracle.ide.externaltools
Enum Availability

java.lang.Object
  extended by java.lang.Enum<Availability>
      extended by oracle.ide.externaltools.Availability
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<Availability>

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

Represents the availability of an external tool.

Since:
11.1.1

Enum Constant Summary
ALWAYS
          The tool is always available.
ANY_SELECTION
          The tool is available with any selection.
SELECTED_TYPES
          The tool is available only when specific file types are selected.
 
Method Summary
static Availability valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static Availability[] 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

ALWAYS

public static final Availability ALWAYS
The tool is always available.


ANY_SELECTION

public static final Availability ANY_SELECTION
The tool is available with any selection.


SELECTED_TYPES

public static final Availability SELECTED_TYPES
The tool is available only when specific file types are selected.

Method Detail

values

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

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

valueOf

public static Availability 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
11g Release 2 (11.1.2.1.0)

E17493-02

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