public class ChangeTypeName extends RamlAdjuster.Helper
RamlAdjuster.Composite, RamlAdjuster.HelperNULL_ADJUSTER| Constructor and Description |
|---|
ChangeTypeName(List<String> arguments) |
| 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.
|
TypePropertyBuilder |
adjustScalarProperty(TypeDeclarationBuilder typeDeclaration,
Property property,
TypePropertyBuilder typePropertyBuilder)
You may change the property definition for a given scalar type.
|
String |
adjustTypeName(Class<?> type,
String name)
Allows you to change the name when used as a reference.
|
adjustEnumValue, adjustForUnknownType, adjustForUnknownTypeInProperty, adjustTypepublic String adjustTypeName(Class<?> type, String name)
RamlAdjusterRamlAdjuster.adjustType(Type, String, TypeBuilder) should you overload both.adjustTypeName in interface RamlAdjusteradjustTypeName in class RamlAdjuster.Helpername - a suggested type name. You may return it or change it. It may not be null.public TypePropertyBuilder adjustScalarProperty(TypeDeclarationBuilder typeDeclaration, Property property, TypePropertyBuilder typePropertyBuilder)
RamlAdjusteradjustScalarProperty in interface RamlAdjusteradjustScalarProperty in class RamlAdjuster.HelpertypePropertyBuilder - a suggested builder. You can add to it and return this builder, or build a new one.public TypePropertyBuilder adjustComposedProperty(TypeDeclarationBuilder typeDeclaration, Property property, TypePropertyBuilder typePropertyBuilder)
RamlAdjusteradjustComposedProperty in interface RamlAdjusteradjustComposedProperty in class RamlAdjuster.HelpertypePropertyBuilder - a suggested builder. You can add to it and return this builder, or build a new one.Copyright © 2019 Mulesoft. All rights reserved.