public class ApiResourceMetadata extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
CONTROLLER_SUFFIX |
| Constructor and Description |
|---|
ApiResourceMetadata(String controllerUrl,
RamlResource resource,
String basePackage,
RamlRoot document) |
| Modifier and Type | Method and Description |
|---|---|
void |
addApiCall(RamlResource resource,
RamlActionType actionType,
RamlAction action) |
void |
addApiCall(RamlResource resource,
RamlActionType actionType,
RamlAction action,
String responseContentType,
boolean injectHttpHeadersParameter) |
Set<ApiActionMetadata> |
getApiCalls() |
String |
getBasePackage() |
String |
getControllerUrl() |
Set<ApiBodyMetadata> |
getDependencies() |
String |
getDescription() |
RamlRoot |
getDocument() |
String |
getName() |
RamlResource |
getResource() |
String |
getResourceName() |
String |
getResourceUri() |
void |
setSingularizeName(boolean singularizeName) |
String |
toString() |
public static final String CONTROLLER_SUFFIX
public ApiResourceMetadata(String controllerUrl, RamlResource resource, String basePackage, RamlRoot document)
public void addApiCall(RamlResource resource, RamlActionType actionType, RamlAction action)
public void addApiCall(RamlResource resource, RamlActionType actionType, RamlAction action, String responseContentType, boolean injectHttpHeadersParameter)
public Set<ApiActionMetadata> getApiCalls()
public String getName()
public RamlResource getResource()
public String getResourceName()
public String getResourceUri()
public String getControllerUrl()
public String getBasePackage()
public Set<ApiBodyMetadata> getDependencies()
public String getDescription()
public RamlRoot getDocument()
public void setSingularizeName(boolean singularizeName)
Copyright © 2017. All rights reserved.