public abstract class SpringConfigurableRule extends Object implements ConfigurableRule<com.sun.codemodel.JCodeModel,com.sun.codemodel.JDefinedClass,ApiResourceMetadata>
| Modifier and Type | Field and Description |
|---|---|
static String |
ARRAY_PARAMETER_CONFIGURATION |
static String |
CALLABLE_RESPONSE_CONFIGURATION |
static String |
PARAMETER_JAVADOC_CONFIGURATION |
| Constructor and Description |
|---|
SpringConfigurableRule() |
| Modifier and Type | Method and Description |
|---|---|
void |
applyConfiguration(Map<String,String> configuration)
Accepts a key-value representation of the the configurations and their respective values
|
boolean |
isAddParameterJavadoc() |
boolean |
isAllowArrayParameters() |
boolean |
isCallableResponse() |
void |
setAddParameterJavadoc(boolean addParameterJavadoc) |
void |
setAllowArrayParameters(boolean allowArrayParameters) |
void |
setCallableResponse(boolean callableResponse) |
public static final String CALLABLE_RESPONSE_CONFIGURATION
public static final String PARAMETER_JAVADOC_CONFIGURATION
public static final String ARRAY_PARAMETER_CONFIGURATION
public 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 applyepublic boolean isAddParameterJavadoc()
public void setAddParameterJavadoc(boolean addParameterJavadoc)
public boolean isAllowArrayParameters()
public void setAllowArrayParameters(boolean allowArrayParameters)
public boolean isCallableResponse()
public void setCallableResponse(boolean callableResponse)
Copyright © 2017. All rights reserved.