|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectar.com.jmfsg.documentation.model.Method
public class Method
| Field Summary | |
|---|---|
String |
description
The description of the method that will appear on the main page |
String |
friendlyName
Friendly name is used to generate the key of the documentation page. |
String |
group
The group to which this service belongs |
String |
longDescription
The description of the method that will appear on the method documentation page. If the longDescription is null, the description will be used in the method documentation page |
RequestMethods |
method
Http method or methods of the service [GET|PUT|POST|DELETE|...] Supports a single String with the Http method or a Map containing the method as key and the requestMapping for that method as value, for example |
int |
order
Order in which this method should be shown in the main documentation page. |
Request |
request
All info regarding input for the service |
String |
requestMapping
Method request mapping (relative to the documentation context) |
List<Field> |
response
List of fields returned as a response item. |
Boolean |
responseIsList
Wheter the expected response is a list or a single object. |
List<Field> |
responseSummary
List of fields that represents a Summary of the response. |
String |
shortName
Label to show in the index page instead of the requestMapping. |
String |
subGroup
The subgroup to which this service belongs. |
List<String> |
tags
List of Tag names that should be applied to this method |
| Constructor Summary | |
|---|---|
Method()
|
|
| Method Summary | |
|---|---|
String |
getDescription()
|
String |
getFriendlyName()
|
String |
getGroup()
|
String |
getLongDescription()
|
RequestMethods |
getMethod()
|
int |
getOrder()
|
Request |
getRequest()
|
String |
getRequestMapping()
|
List<Field> |
getResponse()
|
Boolean |
getResponseIsList()
|
List<Field> |
getResponseSummary()
|
String |
getShortName()
|
String |
getSubGroup()
|
List<String> |
getTags()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public String friendlyName
public String group
public String subGroup
public String description
public String longDescription
public RequestMethods method
{
"GET" : "/service/object/{id}",
"POST" : "/service/object"
}
public String requestMapping
public int order
public Request request
public Boolean responseIsList
public List<Field> response
public List<Field> responseSummary
public List<String> tags
Tag names that should be applied to this method
public String shortName
| Constructor Detail |
|---|
public Method()
| Method Detail |
|---|
public String getFriendlyName()
public String getGroup()
public String getSubGroup()
public String getDescription()
public String getLongDescription()
public RequestMethods getMethod()
public String getRequestMapping()
public int getOrder()
public Request getRequest()
public List<Field> getResponse()
public List<Field> getResponseSummary()
public List<String> getTags()
public String getShortName()
public Boolean getResponseIsList()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||