net.sf.adf.acl
Enum Performative
java.lang.Object
java.lang.Enum<Performative>
net.sf.adf.acl.Performative
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<Performative>
public enum Performative
- extends java.lang.Enum<Performative>
- Author:
- Catalin Hritcu
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
ACCEPT_PROPOSAL
public static final Performative ACCEPT_PROPOSAL
AGREE
public static final Performative AGREE
CANCEL
public static final Performative CANCEL
CFP
public static final Performative CFP
CONFIRM
public static final Performative CONFIRM
DISCONFIRM
public static final Performative DISCONFIRM
FAILURE
public static final Performative FAILURE
INFORM
public static final Performative INFORM
INFORM_IF
public static final Performative INFORM_IF
INFORM_REF
public static final Performative INFORM_REF
NOT_UNDERSTOOD
public static final Performative NOT_UNDERSTOOD
PROPAGATE
public static final Performative PROPAGATE
PROPOSE
public static final Performative PROPOSE
PROXY
public static final Performative PROXY
QUERY_IF
public static final Performative QUERY_IF
QUERY_REF
public static final Performative QUERY_REF
REFUSE
public static final Performative REFUSE
REJECT_PROPOSAL
public static final Performative REJECT_PROPOSAL
REQUEST
public static final Performative REQUEST
REQUEST_WHEN
public static final Performative REQUEST_WHEN
REQUEST_WHENEVER
public static final Performative REQUEST_WHENEVER
SUBSCRIBE
public static final Performative SUBSCRIBE
getPerformative
public static Performative getPerformative(java.lang.String name)
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Enum<Performative>
valueOf
public static Performative 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:
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
values
public static final Performative[] values()
- Returns an array containing the constants of this enum type, in
the order they're declared. This method may be used to iterate
over the constants as follows:
for(Performative c : Performative.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they're declared