public class Spring4RestTemplateClientRule extends Object implements ConfigurableRule<com.sun.codemodel.JCodeModel,com.sun.codemodel.JDefinedClass,ApiResourceMetadata>
| Modifier and Type | Field and Description |
|---|---|
static String |
ARRAY_PARAMETER_CONFIGURATION |
| Constructor and Description |
|---|
Spring4RestTemplateClientRule() |
| 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.
|
void |
applyConfiguration(Map<String,String> configuration)
Accepts a key-value representation of the the configurations and their respective values
|
public static final String ARRAY_PARAMETER_CONFIGURATION
public final com.sun.codemodel.JDefinedClass apply(ApiResourceMetadata metadata, com.sun.codemodel.JCodeModel generatableType)
Ruleapply in interface Rule<com.sun.codemodel.JCodeModel,com.sun.codemodel.JDefinedClass,ApiResourceMetadata>metadata - The meta data from which the code is build.generatableType - A code generation construct to which this rule should be appliedpublic void applyConfiguration(Map<String,String> configuration)
ConfigurableRuleapplyConfiguration in interface ConfigurableRule<com.sun.codemodel.JCodeModel,com.sun.codemodel.JDefinedClass,ApiResourceMetadata>configuration - The Map with the configuration to applyeCopyright © 2017. All rights reserved.