public class ClientInterfaceDeclarationRule extends Object implements Rule<com.sun.codemodel.JPackage,com.sun.codemodel.JDefinedClass,ApiResourceMetadata>
| Modifier and Type | Field and Description |
|---|---|
static String |
CLIENT_SUFFIX |
| Constructor and Description |
|---|
ClientInterfaceDeclarationRule() |
| Modifier and Type | Method and Description |
|---|---|
com.sun.codemodel.JDefinedClass |
apply(ApiResourceMetadata controllerMetadata,
com.sun.codemodel.JPackage generatableType)
Add whatever Java source is required to the given generatable to
represent this rule.
|
public static final String CLIENT_SUFFIX
public com.sun.codemodel.JDefinedClass apply(ApiResourceMetadata controllerMetadata, com.sun.codemodel.JPackage generatableType)
Ruleapply in interface Rule<com.sun.codemodel.JPackage,com.sun.codemodel.JDefinedClass,ApiResourceMetadata>controllerMetadata - 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.