public static final class ApiBean.ApiDefinition
extends java.lang.Object
| Constructor and Description |
|---|
ApiDefinition(ApiBean apiBean,
java.lang.reflect.Method apiMethod) |
ApiDefinition(java.lang.reflect.Method apiMethod) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperties(java.lang.String name,
java.lang.String value)
add properties value.
|
<A extends java.lang.annotation.Annotation> |
getAnnotation(java.lang.Class<A> annotationClass)
Get the annotation from Method.
|
ApiBean |
getApiBean()
Gets api bean.
|
java.lang.reflect.Method |
getApiMethod()
Get Api Method.
|
java.lang.String |
getApiMethodName()
Gets api method Name.
|
java.lang.Class<?> |
getBeanClass()
Gets bean class.
|
java.lang.String |
getBeanPath()
Gets bean path.
|
java.lang.String |
getMethodPath()
Gets method path.
|
java.lang.String |
getParameterTypes()
Gets parameterTypes.
|
java.lang.String |
getPropertiesValue(java.lang.String name)
get properties.
|
ApiBean.Status |
getStatus()
get status.
|
void |
setMethodPath(java.lang.String methodPath)
set methodPath.
|
void |
setStatus(ApiBean.Status status)
set status.
|
public ApiDefinition(java.lang.reflect.Method apiMethod)
public ApiDefinition(ApiBean apiBean, java.lang.reflect.Method apiMethod)
public void setMethodPath(java.lang.String methodPath)
methodPath - methodPathpublic void addProperties(java.lang.String name,
java.lang.String value)
name - namevalue - valuepublic java.lang.String getPropertiesValue(java.lang.String name)
name - namepublic java.lang.reflect.Method getApiMethod()
public java.lang.String getApiMethodName()
public java.lang.String getBeanPath()
public java.lang.String getMethodPath()
public java.lang.Class<?> getBeanClass()
public ApiBean getApiBean()
public ApiBean.Status getStatus()
public void setStatus(ApiBean.Status status)
status - statuspublic <A extends java.lang.annotation.Annotation> A getAnnotation(java.lang.Class<A> annotationClass)
A - annotationClass extends AnnotationannotationClass - annotationClasspublic java.lang.String getParameterTypes()
Copyright © 2023 The Apache Software Foundation. All rights reserved.