Class ProcedureDescription


  • public class ProcedureDescription
    extends Object
    Description of a single JSON-RPC procedure.
    • Constructor Detail

      • ProcedureDescription

        public ProcedureDescription​(Map<String,​Object> pm)
      • ProcedureDescription

        public ProcedureDescription​(Method m)
      • ProcedureDescription

        public ProcedureDescription()
    • Method Detail

      • getReturn

        public String getReturn()
        Getter for return type
      • setReturn

        public void setReturn​(String value)
        Private API - used via reflection during parsing/loading
      • internal_getMethod

        public Method internal_getMethod()
        Private API - used to get the reflected method object, for servers
      • getJavaReturnType

        public String getJavaReturnType()
      • setJavaReturnType

        public void setJavaReturnType​(String javaReturnType)
      • getReturnType

        public Class<?> getReturnType()
      • internal_getParams

        public ParameterDescription[] internal_getParams()
        Gets an array of parameter descriptions for all this procedure's parameters
      • arity

        public int arity()
        Retrieves the parameter count for this procedure
      • getName

        public String getName()
      • getSummary

        public String getSummary()
      • getHelp

        public String getHelp()
      • isIdempotent

        public boolean isIdempotent()
      • setName

        public void setName​(String name)
      • setSummary

        public void setSummary​(String summary)
      • setHelp

        public void setHelp​(String help)
      • setIdempotent

        public void setIdempotent​(boolean idempotent)