Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


oracle.irm.engine.core.feature
Enum Feature.Use

java.lang.Object
  extended by java.lang.Enum<Feature.Use>
      extended by oracle.irm.engine.core.feature.Feature.Use

All Implemented Interfaces:
Serializable, Comparable<Feature.Use>
Enclosing interface:
Feature

public static enum Feature.Use
extends Enum<Feature.Use>

How this feature's usage is advertised to the user. A feature can either be immediately available for use, or advertised for use and requested on demand. For example, opening content is immediate use of the open feature, whereas printing might only use the print feature when the printing action is performed.


Enum Constant Summary
DEMAND
          Used on demand.
IMMEDIATE
          Used immediately.

 

Method Summary
static Feature.Use valueOf(String name)
          Returns the enum constant of this type with the specified name.
static Feature.Use[] 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

IMMEDIATE

public static final Feature.Use IMMEDIATE
Used immediately.

DEMAND

public static final Feature.Use DEMAND
Used on demand.

Method Detail

values

public static Feature.Use[] 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 (Feature.Use c : Feature.Use.values())
    System.out.println(c);
Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static Feature.Use 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

Skip navigation links

Oracle® Information Rights Management Server Java API Reference
11g Release 1 (11.1.1)

E12907-03


Copyright © 2011, Oracle. All rights reserved.