public interface RamlAdjuster
| Modifier and Type | Interface and Description |
|---|---|
static class |
RamlAdjuster.Composite |
static class |
RamlAdjuster.Helper |
| Modifier and Type | Field and Description |
|---|---|
static RamlAdjuster |
NULL_ADJUSTER |
| Modifier and Type | Method and Description |
|---|---|
TypePropertyBuilder |
adjustComposedProperty(TypeDeclarationBuilder typeDeclaration,
Property property,
TypePropertyBuilder typePropertyBuilder)
You may change the property definition for a given composed type.
|
String |
adjustEnumValue(Class<?> type,
String name)
If the type being adjusted is an enumeration, you may change the enumerated value's name.
|
TypePropertyBuilder |
adjustScalarProperty(TypeDeclarationBuilder typeDeclaration,
Property property,
TypePropertyBuilder typePropertyBuilder)
You may change the property definition for a given scalar type.
|
TypeBuilder |
adjustType(Type type,
String typeName,
TypeBuilder builder)
Changes the type.
|
String |
adjustTypeName(Class<?> aClass,
String name)
Allows you to change the name when used as a reference.
|
static final RamlAdjuster NULL_ADJUSTER
String adjustEnumValue(Class<?> type, String name)
type - name - TypeBuilder adjustType(Type type, String typeName, TypeBuilder builder)
type - typeName - builder - a suggested builder. You can add to it and return this builder, or build a new one.String adjustTypeName(Class<?> aClass, String name)
adjustType(Type, String, TypeBuilder) should you overload both.aClass - name - a suggested type name. You may return it or change it. It may not be null.TypePropertyBuilder adjustScalarProperty(TypeDeclarationBuilder typeDeclaration, Property property, TypePropertyBuilder typePropertyBuilder)
typeDeclaration - property - typePropertyBuilder - a suggested builder. You can add to it and return this builder, or build a new one.TypePropertyBuilder adjustComposedProperty(TypeDeclarationBuilder typeDeclaration, Property property, TypePropertyBuilder typePropertyBuilder)
typeDeclaration - property - typePropertyBuilder - a suggested builder. You can add to it and return this builder, or build a new one.Copyright © 2018 Mulesoft. All rights reserved.