public enum Performative extends java.lang.Enum<Performative>
Enum Constant and Description |
---|
AGREE
Agree to performing the requested action.
|
CANCEL
Cancel pending request.
|
CFP
Call for proposal.
|
CONFIRM
Confirm that the answer to a query is true.
|
DISCONFIRM
Confirm that the answer to a query is false.
|
FAILURE
Notification of failure to perform a requested or agreed action.
|
INFORM
Notification of an event.
|
NOT_UNDERSTOOD
Notification that a message was not understood.
|
PROPOSE
Response for CFP.
|
QUERY_IF
Query if some statement is true or false.
|
REFUSE
Refuse to perform the requested action.
|
REQUEST
Request an action to be performed.
|
Modifier and Type | Method and Description |
---|---|
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.
|
public static final Performative REQUEST
public static final Performative AGREE
public static final Performative REFUSE
public static final Performative FAILURE
public static final Performative INFORM
public static final Performative CONFIRM
public static final Performative DISCONFIRM
public static final Performative QUERY_IF
public static final Performative NOT_UNDERSTOOD
public static final Performative CFP
public static final Performative PROPOSE
public static final Performative CANCEL
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 namejava.lang.NullPointerException
- if the argument is null