public enum Jdbc2SchemaOptionName extends Enum<Jdbc2SchemaOptionName> implements OptionName
| Enum Constant and Description | 
|---|
| DATABASE_NAMEThe name of the database to generate. | 
| Modifier and Type | Method and Description | 
|---|---|
| static void | checkRequiredOptions(ControllerState controllerState)Checks whether all required options are set. | 
| String | getName()Returns the name of the option. | 
| boolean | isRequired()Returns whether this option must be set. | 
| String | toString() | 
| static Jdbc2SchemaOptionName | valueOf(String name)Returns the enum constant of this type with the specified name. | 
| static Jdbc2SchemaOptionName[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final Jdbc2SchemaOptionName DATABASE_NAME
public static Jdbc2SchemaOptionName[] values()
for (Jdbc2SchemaOptionName c : Jdbc2SchemaOptionName.values()) System.out.println(c);
public static Jdbc2SchemaOptionName 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 String getName()
getName in interface OptionNamepublic boolean isRequired()
public String toString()
toString in class Enum<Jdbc2SchemaOptionName>public static void checkRequiredOptions(ControllerState controllerState) throws SourceTransformerException
controllerState - the current controller state, not null.SourceTransformerException - if a required option is not set.Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.