public class SpringResponseEntityRule extends Object implements Rule<com.sun.codemodel.JDefinedClass,com.sun.codemodel.JType,ApiActionMetadata>
| Constructor and Description |
|---|
SpringResponseEntityRule() |
| Modifier and Type | Method and Description |
|---|---|
com.sun.codemodel.JType |
apply(ApiActionMetadata endpointMetadata,
com.sun.codemodel.JDefinedClass generatableType)
Add whatever Java source is required to the given generatable to
represent this rule.
|
public com.sun.codemodel.JType apply(ApiActionMetadata endpointMetadata, com.sun.codemodel.JDefinedClass generatableType)
Ruleapply in interface Rule<com.sun.codemodel.JDefinedClass,com.sun.codemodel.JType,ApiActionMetadata>endpointMetadata - The meta data from which the code is build.generatableType - A code generation construct to which this rule should be appliedCopyright © 2017. All rights reserved.