public class RJP08V1RamlAction extends Object implements RamlAction
| Constructor and Description |
|---|
RJP08V1RamlAction(org.raml.model.Action action) |
| Modifier and Type | Method and Description |
|---|---|
void |
addQueryParameters(Map<String,RamlQueryParameter> queryParameters) |
void |
addResponse(String httpStatus,
RamlResponse response) |
Map<String,RamlMimeType> |
getBody() |
String |
getDescription() |
Map<String,RamlHeader> |
getHeaders() |
Map<String,RamlQueryParameter> |
getQueryParameters() |
RamlResource |
getResource() |
Map<String,RamlResponse> |
getResponses() |
List<RamlSecurityReference> |
getSecuredBy() |
RamlActionType |
getType() |
boolean |
hasBody() |
void |
setBody(Map<String,RamlMimeType> body) |
void |
setDescription(String description) |
void |
setResource(RamlResource resource) |
void |
setType(RamlActionType actionType) |
public RamlActionType getType()
getType in interface RamlActionpublic Map<String,RamlQueryParameter> getQueryParameters()
getQueryParameters in interface RamlActionpublic Map<String,RamlResponse> getResponses()
getResponses in interface RamlActionpublic void addResponse(String httpStatus, RamlResponse response)
addResponse in interface RamlActionpublic RamlResource getResource()
getResource in interface RamlActionpublic Map<String,RamlHeader> getHeaders()
getHeaders in interface RamlActionpublic Map<String,RamlMimeType> getBody()
getBody in interface RamlActionpublic void setBody(Map<String,RamlMimeType> body)
setBody in interface RamlActionpublic boolean hasBody()
hasBody in interface RamlActionpublic String getDescription()
getDescription in interface RamlActionpublic void setDescription(String description)
setDescription in interface RamlActionpublic void setResource(RamlResource resource)
setResource in interface RamlActionpublic void setType(RamlActionType actionType)
setType in interface RamlActionpublic List<RamlSecurityReference> getSecuredBy()
getSecuredBy in interface RamlActionpublic void addQueryParameters(Map<String,RamlQueryParameter> queryParameters)
addQueryParameters in interface RamlActionCopyright © 2017. All rights reserved.