|
SAP NetWeaver 7.11 (EhP1 SP03) Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sap.aii.af.service.administration.api.monitoring.ChannelState
public class ChannelState
The ChannelState class is a typed enumeration for the status
of a channel in the Adapter Monitoring API. Its static members can be used to
express a certain channel state. Available states are:
The states have a precedence in the above shown order.
| Field Summary | |
|---|---|
static ChannelState |
ERROR
Indicates that the channel is either configured incorrectly or has encountered another error that prevents it from processing messages. |
static ChannelState |
INACTIVE
Indicates that an adapter channel is inactive. |
static ChannelState |
OK
Indicates that the channel is configured correctly and ready to process messages. |
protected String |
text
|
| Constructor Summary | |
|---|---|
protected |
ChannelState(String text,
int value)
Protected constructor. |
| Method Summary | |
|---|---|
int |
compareTo(ChannelState s)
Compare two ChannelState instances. |
int |
compareTo(Object o)
Compare two ChannelState instances. |
protected Object |
readResolve()
|
String |
toString()
Converts this object into a string representation. |
static ChannelState |
valueOf(String statusString)
Get one of the static class members from their depending String as returned from toString. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final ChannelState ERROR
public static final ChannelState INACTIVE
public static final ChannelState OK
protected String text
| Constructor Detail |
|---|
protected ChannelState(String text,
int value)
text - the state textvalue - the state value (for comparison purposes)| Method Detail |
|---|
public String toString()
toString in class ObjectChannelStatepublic static ChannelState valueOf(String statusString)
toString.
statusString - a String as returned by the toString method
NullPointerException - if the argument is null
IllegalArgumentException - if the argument is a unknown status String
protected Object readResolve()
throws ObjectStreamException
ObjectStreamExceptionpublic int compareTo(Object o)
ChannelState instances.
compareTo in interface Comparableo - Another ChannelState instance
0 if the argument is the same ChannelState
as this ChannelState;
a value less than 0 if the argument is a ChannelState
with a higher precedence than this ChannelState;
and a value greater than 0 if the argument is a ChannelState
with a lower precedence less than this ChannelState.
ClassCastException - if the argument is not of type ChannelState
NullPointerException - if the argument is nullpublic int compareTo(ChannelState s)
ChannelState instances.
s - Another ChannelState instance
0 if the argument is the same ChannelState
as this ChannelState;
a value less than 0 if the argument is a ChannelState
with a higher precedence than this ChannelState;
and a value greater than 0 if the argument is a ChannelState
with a lower precedence less than this ChannelState.
NullPointerException - if the argumant is null
|
SAP NetWeaver 7.11 (EhP1 SP03) Process Integration | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||