public enum SmithyIdlComponentOrder extends java.lang.Enum<SmithyIdlComponentOrder>
SmithyIdlModelSerializer.| Enum Constant and Description |
|---|
ALPHA_NUMERIC
Sort shapes, traits, and metadata alphabetically.
|
PREFERRED
Reorganizes shapes based on a preferred ordering of shapes, and alphanumeric traits and metadata.
|
SOURCE_LOCATION
Sort shapes, traits, and metadata by source location, persisting their original placement when parsed.
|
| Modifier and Type | Method and Description |
|---|---|
static SmithyIdlComponentOrder |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SmithyIdlComponentOrder[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SmithyIdlComponentOrder ALPHA_NUMERIC
public static final SmithyIdlComponentOrder SOURCE_LOCATION
public static final SmithyIdlComponentOrder PREFERRED
Shapes are ordered as follows:
public static SmithyIdlComponentOrder[] values()
for (SmithyIdlComponentOrder c : SmithyIdlComponentOrder.values()) System.out.println(c);
public static SmithyIdlComponentOrder valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is null