public class ServiceDescription extends Object
Modifier and Type | Field and Description |
---|---|
static String |
JSON_RPC_VERSION |
Constructor and Description |
---|
ServiceDescription() |
ServiceDescription(Class<?> klass) |
ServiceDescription(Map<String,Object> rawServiceDescription) |
Modifier and Type | Method and Description |
---|---|
String |
getHelp() |
String |
getId() |
String |
getName() |
ProcedureDescription |
getProcedure(String newname,
int arity)
Looks up a single ProcedureDescription by name and arity.
|
Collection<ProcedureDescription> |
getProcs()
Gets a collection of all
ProcedureDescription for this service |
String |
getSummary() |
String |
getVersion() |
void |
setHelp(String help) |
void |
setId(String id) |
void |
setName(String name) |
void |
setProcs(Collection<Map<String,Object>> p)
Private API - used via reflection during parsing/loading
|
void |
setSummary(String summary) |
void |
setVersion(String version) |
public static final String JSON_RPC_VERSION
public ServiceDescription(Class<?> klass)
public ServiceDescription()
public Collection<ProcedureDescription> getProcs()
ProcedureDescription
for this servicepublic void setProcs(Collection<Map<String,Object>> p)
public ProcedureDescription getProcedure(String newname, int arity)
IllegalArgumentException
- if no match is foundpublic String getName()
public String getId()
public String getVersion()
public String getSummary()
public String getHelp()
public void setName(String name)
public void setId(String id)
public void setVersion(String version)
public void setSummary(String summary)
public void setHelp(String help)
Copyright © 2022 VMware, Inc. or its affiliates.. All rights reserved.