com.sap.engine.interfaces.messaging.api.pmi

Class ProcessingMode

java.lang.Object
  extended by com.sap.engine.interfaces.messaging.api.pmi.ProcessingMode
All Implemented Interfaces:
Serializable

public class ProcessingMode
extends Object
implements Serializable

The ProcessingMode object is a typesafe enumeration class which is to be used as a parameter to the PMI agents AdapterInboundAgent and AdapterOutboundAgent. The supported processing mode constants are:

Version:
$Id: //tc/xpi.ms/dev/src/_interface/pifce/api/com/sap/engine/interfaces/messaging/api/pmi/ProcessingMode.java#3 $
See Also:
Serialized Form

Field Summary
static ProcessingMode ASYNC
           
static ProcessingMode SYNC
           
static ProcessingMode UNKNOWN
           
 
Constructor Summary
protected ProcessingMode(String value)
           
 
Method Summary
 boolean equals(Object obj)
           
static ProcessingMode[] getProcessingModes()
          Returns an array of all known ProcessingMode constants.
 int hashCode()
           
protected  Object readResolve()
           
 String toString()
          Returns the string representation of the ProcessingMode.
static ProcessingMode valueOf(String s)
          Returns an instance of ProcessingMode that represents the ProcessingMode given as a string.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

SYNC

public static final ProcessingMode SYNC

ASYNC

public static final ProcessingMode ASYNC

UNKNOWN

public static final ProcessingMode UNKNOWN
Constructor Detail

ProcessingMode

protected ProcessingMode(String value)
Method Detail

toString

public String toString()
Returns the string representation of the ProcessingMode. This value can be used to get a ProcessingMode instance by a call to valueOf(String).

Overrides:
toString in class Object
Returns:
The string representation of the ProcessingMode.

valueOf

public static ProcessingMode valueOf(String s)
Returns an instance of ProcessingMode that represents the ProcessingMode given as a string. This will typically be used to create a ProcessingMode object from a string retrieved from the database.

Throws:
NullPointerException - if the argument is null.
IllegalArgumentException - if the argument is not a known transport.

readResolve

protected Object readResolve()
                      throws ObjectStreamException
Throws:
ObjectStreamException

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

getProcessingModes

public static ProcessingMode[] getProcessingModes()
Returns an array of all known ProcessingMode constants.

Returns:
An array containing all known ProcessingMode constants.


Copyright 2009 SAP AG Complete Copyright Notice