Class ChangeTypes.Config
- java.lang.Object
-
- software.amazon.smithy.build.transforms.ChangeTypes.Config
-
- Enclosing class:
- ChangeTypes
public static final class ChangeTypes.Config extends java.lang.Object
flattenNamespaces
configuration settings.
-
-
Constructor Summary
Constructors Constructor Description Config()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<ShapeId,ShapeType>
getShapeTypes()
boolean
getSynthesizeEnumNames()
void
setShapeTypes(java.util.Map<ShapeId,ShapeType> shapeTypes)
Sets the map of shape IDs to shape types to set.void
setSynthesizeEnumNames(boolean synthesizeEnumNames)
Sets whether to synthesize names for enums that don't already have them.
-
-
-
Method Detail
-
setShapeTypes
public void setShapeTypes(java.util.Map<ShapeId,ShapeType> shapeTypes)
Sets the map of shape IDs to shape types to set.- Parameters:
shapeTypes
- Map of shape ID to shape type.
-
setSynthesizeEnumNames
public void setSynthesizeEnumNames(boolean synthesizeEnumNames)
Sets whether to synthesize names for enums that don't already have them.- Parameters:
synthesizeEnumNames
- Whether to synthesize enum names.
-
getSynthesizeEnumNames
public boolean getSynthesizeEnumNames()
-
-