Enum ShapeGenerationOrder
- java.lang.Object
- 
- java.lang.Enum<ShapeGenerationOrder>
- 
- software.amazon.smithy.codegen.core.ShapeGenerationOrder
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable,- java.lang.Comparable<ShapeGenerationOrder>
 
 public enum ShapeGenerationOrder extends java.lang.Enum<ShapeGenerationOrder> Shapes order for code generation.CodegenDirector order the shapes appropriately before feeding them to the code generators. See CodegenDirector.shapeGenerationOrder(ShapeGenerationOrder)
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ALPHABETICALShapes ordered alphabetically by their names.NONEShapes without order.TOPOLOGICALShapes ordered in reverse-topological order.
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static ShapeGenerationOrdervalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ShapeGenerationOrder[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
TOPOLOGICALpublic static final ShapeGenerationOrder TOPOLOGICAL Shapes ordered in reverse-topological order. Also seeTopologicalIndex
 - 
ALPHABETICALpublic static final ShapeGenerationOrder ALPHABETICAL Shapes ordered alphabetically by their names.
 - 
NONEpublic static final ShapeGenerationOrder NONE Shapes without order.
 
- 
 - 
Method Detail- 
valuespublic static ShapeGenerationOrder[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ShapeGenerationOrder c : ShapeGenerationOrder.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static ShapeGenerationOrder valueOf(java.lang.String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- java.lang.IllegalArgumentException- if this enum type has no constant with the specified name
- java.lang.NullPointerException- if the argument is null
 
 
- 
 
-