|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.rabbitmq.tools.jsonrpc.ProcedureDescription
public class ProcedureDescription
Description of a single JSON-RPC procedure.
Field Summary | |
---|---|
java.lang.String |
help
Human-readable instructions for how to get information on the procedure's operation |
boolean |
idempotent
True if this procedure is idempotent, that is, can be accessed via HTTP GET |
java.lang.String |
name
Procedure name |
java.lang.String |
summary
Human-readable procedure summary |
Constructor Summary | |
---|---|
ProcedureDescription()
|
|
ProcedureDescription(java.util.Map<java.lang.String,java.lang.Object> pm)
|
|
ProcedureDescription(java.lang.reflect.Method m)
|
Method Summary | |
---|---|
int |
arity()
Retrieves the parameter count for this procedure |
ParameterDescription[] |
getParams()
|
java.lang.String |
getReturn()
Getter for return type |
java.lang.reflect.Method |
internal_getMethod()
Private API - used to get the reflected method object, for servers |
ParameterDescription[] |
internal_getParams()
Gets an array of parameter descriptions for all this procedure's parameters |
void |
setReturn(java.lang.String value)
Private API - used via reflection during parsing/loading |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public java.lang.String name
public java.lang.String summary
public java.lang.String help
public boolean idempotent
Constructor Detail |
---|
public ProcedureDescription(java.util.Map<java.lang.String,java.lang.Object> pm)
public ProcedureDescription(java.lang.reflect.Method m)
public ProcedureDescription()
Method Detail |
---|
public java.lang.String getReturn()
public void setReturn(java.lang.String value)
public java.lang.reflect.Method internal_getMethod()
public ParameterDescription[] internal_getParams()
public int arity()
public ParameterDescription[] getParams()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |