@Generated(value="Autogenerated by Thrift Compiler (0.16.0)") public enum SchemaVersionState extends Enum<SchemaVersionState> implements org.apache.thrift.TEnum
| Enum Constant and Description |
|---|
ARCHIVED |
CHANGES_REQUIRED |
DELETED |
DISABLED |
ENABLED |
INITIATED |
REVIEWED |
START_REVIEW |
| Modifier and Type | Method and Description |
|---|---|
static SchemaVersionState |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static SchemaVersionState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SchemaVersionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SchemaVersionState INITIATED
public static final SchemaVersionState START_REVIEW
public static final SchemaVersionState CHANGES_REQUIRED
public static final SchemaVersionState REVIEWED
public static final SchemaVersionState ENABLED
public static final SchemaVersionState DISABLED
public static final SchemaVersionState ARCHIVED
public static final SchemaVersionState DELETED
public static SchemaVersionState[] values()
for (SchemaVersionState c : SchemaVersionState.values()) System.out.println(c);
public static SchemaVersionState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getValue()
getValue in interface org.apache.thrift.TEnumpublic static SchemaVersionState findByValue(int value)
Copyright © 2024 The Apache Software Foundation. All rights reserved.