public class ActionDoc extends Action
| Modifier and Type | Field and Description |
|---|---|
protected String |
author |
protected boolean |
deprecated |
protected String |
methodComment |
protected Map<String,String> |
parameters
map of method parameter names and descriptions
|
protected Map<String,String> |
returnMethod
map of method return properties names and descriptions
|
protected String |
version |
| Constructor and Description |
|---|
ActionDoc(Action toCopy,
String methodComment,
String author,
String version,
boolean deprecated) |
ActionDoc(String name,
List<String> params) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthor() |
String |
getMethodComment() |
Map<String,String> |
getParameters() |
Map<String,String> |
getReturnMethod() |
String |
getVersion() |
boolean |
isDeprecated() |
void |
setAuthor(String author) |
void |
setDeprecated(boolean deprecated) |
void |
setMethodComment(String methodComment) |
void |
setParameters(Map<String,String> parameters) |
void |
setReturnMethod(Map<String,String> returnMethod) |
void |
setVersion(String version) |
create, create, createFormHandler, createNamed, createTreeLoad, getBatched, getFormHandler, getLen, getMetadata, getName, getParams, getStrictprotected String methodComment
protected String author
protected String version
protected Map<String,String> returnMethod
protected boolean deprecated
public String getMethodComment()
public void setMethodComment(String methodComment)
methodComment - the methodComment to setpublic String getAuthor()
public void setAuthor(String author)
author - the author to setpublic String getVersion()
public void setVersion(String version)
version - the version to setpublic void setParameters(Map<String,String> parameters)
parameters - the parameters to setpublic void setReturnMethod(Map<String,String> returnMethod)
returnMethod - the returnMethod to setpublic boolean isDeprecated()
public void setDeprecated(boolean deprecated)
deprecated - the deprecated to setCopyright © 2010–2018. All rights reserved.