public abstract class SpringControllerInterfaceRule extends SpringConfigurableRule
ARRAY_PARAMETER_CONFIGURATION, CALLABLE_RESPONSE_CONFIGURATION, PARAMETER_JAVADOC_CONFIGURATION| Constructor and Description |
|---|
SpringControllerInterfaceRule() |
| Modifier and Type | Method and Description |
|---|---|
com.sun.codemodel.JDefinedClass |
apply(ApiResourceMetadata metadata,
com.sun.codemodel.JCodeModel generatableType)
Add whatever Java source is required to the given generatable to
represent this rule.
|
protected abstract Rule<com.sun.codemodel.JDefinedClass,com.sun.codemodel.JAnnotationUse,ApiResourceMetadata> |
getControllerAnnotationRule() |
protected abstract Rule<com.sun.codemodel.JMethod,com.sun.codemodel.JAnnotationUse,ApiActionMetadata> |
getResponseBodyAnnotationRule() |
applyConfiguration, isAddParameterJavadoc, isAllowArrayParameters, isCallableResponse, setAddParameterJavadoc, setAllowArrayParameters, setCallableResponsepublic final com.sun.codemodel.JDefinedClass apply(ApiResourceMetadata metadata, com.sun.codemodel.JCodeModel generatableType)
Rulemetadata - The meta data from which the code is build.generatableType - A code generation construct to which this rule should be appliedprotected abstract Rule<com.sun.codemodel.JDefinedClass,com.sun.codemodel.JAnnotationUse,ApiResourceMetadata> getControllerAnnotationRule()
protected abstract Rule<com.sun.codemodel.JMethod,com.sun.codemodel.JAnnotationUse,ApiActionMetadata> getResponseBodyAnnotationRule()
Copyright © 2017. All rights reserved.