com.rabbitmq.tools.jsonrpc
public class ProcedureDescription extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
ProcedureDescription() |
ProcedureDescription(java.util.Map<java.lang.String,java.lang.Object> pm) |
ProcedureDescription(java.lang.reflect.Method m) |
Modifier and Type | Method and Description |
---|---|
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
|
public java.lang.String name
public java.lang.String summary
public java.lang.String help
public boolean idempotent
public ProcedureDescription(java.util.Map<java.lang.String,java.lang.Object> pm)
public ProcedureDescription(java.lang.reflect.Method m)
public ProcedureDescription()
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()