|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Object java.lang.Enum<Performative> brahms.communication.Performative
public enum Performative
The types of performatives supported for a communicative act identifying the type of message.
Method Summary | |
---|---|
static Performative |
getValueOf(java.lang.String value)
Returns the Performative enumeration value represented by the specified value. |
static Performative |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Performative[] |
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 |
---|
public static final Performative ACCEPT_PROPOSAL
public static final Performative ACKNOWLEDGE
public static final Performative AGREE
public static final Performative CANCEL
public static final Performative CALL_FOR_PROPOSAL
public static final Performative CONFIRM
public static final Performative DISCONFIRM
public static final Performative FAILURE
public static final Performative INFORM
public static final Performative INFORM_IF
public static final Performative INFORM_REF
public static final Performative NOT_UNDERSTOOD
public static final Performative PROPAGATE
public static final Performative PROPOSE
public static final Performative PROXY
public static final Performative QUERY_IF
public static final Performative QUERY_REF
public static final Performative REFUSE
public static final Performative REJECT_PROPOSAL
public static final Performative REQUEST
public static final Performative REQUEST_WHEN
public static final Performative REQUEST_WHENEVER
public static final Performative SUBSCRIBE
Method Detail |
---|
public static Performative[] values()
for (Performative c : Performative.values()) System.out.println(c);
public static Performative valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic static Performative getValueOf(java.lang.String value)
valueOf
method which is case sensitive.
value
- the value to be converted to the enum constant
java.lang.IllegalArgumentException
- if the specified enum type has
no constant with the specified name, or the specified class
object does not represent an enum type
java.lang.NullPointerException
- if value is null
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |