Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.3)
E26229-05


oracle.as.scheduler
Enum RequestMode

java.lang.Object
  extended by java.lang.Enum<RequestMode>
      extended by oracle.as.scheduler.RequestMode

All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<RequestMode>

public enum RequestMode
extends java.lang.Enum<RequestMode>
Since:
11.1.1.6.2 Enum of the request mode that affect how a request will be processed.
Version:
$Header: RequestMode.java 15-apr-2011.11:25:17 chall Exp $
Author:
chall

Enum Constant Summary
Extended
          Extended mode.
Fusion
          Full Fusion application environment mode with CP extensions.
Standard
          Standard mode.
Undefined
          Undefined mode.
Unknown
          Unknown or invalid mode.

 

Method Summary
static RequestMode from(javax.management.openmbean.CompositeData cd)
           
static RequestMode fromString(java.lang.String requestModeStr)
          Converts a stringified request mode into a RequestMode object.
 javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)
           
static javax.management.openmbean.CompositeType toCompositeType()
          Returns the CompositeType that describes this model specific class
 java.lang.String toString(java.util.Locale locale)
           
 int value()
          Returns the numeric value for the request mode.
static RequestMode valueOf(int value)
          Returns the request mode for the numeric value specified.
static RequestMode valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static RequestMode[] 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

Unknown

public static final RequestMode Unknown
Unknown or invalid mode.

Undefined

public static final RequestMode Undefined
Undefined mode.

An unvalidated request is set to this mode. It will be set to the the appropriate mode once it is successfully validated.


Standard

public static final RequestMode Standard
Standard mode.

No Fusion support.


Fusion

public static final RequestMode Fusion
Full Fusion application environment mode with CP extensions.

Request processing adheres to the behavior of Fusion with CP extensions.


Extended

public static final RequestMode Extended
Extended mode.

In general, the request should be capable of running in Standard mode but the processing may use certain Fusion features such as ApplSession and Attachements API. The application logic would typically not require such features or at least do some in some flexible/dynamic manner.

Method Detail

values

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

valueOf

public static RequestMode 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:
IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null

value

public int value()
Returns the numeric value for the request mode.
Returns:
value for this request mode.

valueOf

public static RequestMode valueOf(int value)
Returns the request mode for the numeric value specified.
Parameters:
value - to convert to request mode.
Returns:
associated request mode.

fromString

public static RequestMode fromString(java.lang.String requestModeStr)
Converts a stringified request mode into a RequestMode object.
Parameters:
requestModeStr -
Returns:
the request mode derived from requestModeStr or RequestMode.Unknown if the conversion could not be made.

toString

public java.lang.String toString(java.util.Locale locale)

toCompositeType

public static javax.management.openmbean.CompositeType toCompositeType()
Returns the CompositeType that describes this model specific class

toCompositeData

public javax.management.openmbean.CompositeData toCompositeData(javax.management.openmbean.CompositeType ct)

from

public static RequestMode from(javax.management.openmbean.CompositeData cd)
                        throws java.lang.IllegalArgumentException
Throws:
java.lang.IllegalArgumentException

Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Enterprise Scheduler Service
11g Release 1 (11.1.1.6.3)
E26229-05


Copyright © 2008, 2012 Oracle. All rights reserved.