public class SchemaUpdate extends Object
Constructor and Description |
---|
SchemaUpdate() |
Modifier and Type | Method and Description |
---|---|
static MetadataImplementor |
buildMetadataFromMainArgs(String[] args)
Intended for test usage only.
|
void |
execute(EnumSet<TargetType> targetTypes,
Metadata metadata) |
void |
execute(EnumSet<TargetType> targetTypes,
Metadata metadata,
ServiceRegistry serviceRegistry) |
List |
getExceptions()
Returns a List of all Exceptions which occurred during the export.
|
static void |
main(String[] args) |
SchemaUpdate |
setDelimiter(String delimiter)
Set the end of statement delimiter
|
SchemaUpdate |
setFormat(boolean format) |
SchemaUpdate |
setHaltOnError(boolean haltOnError) |
SchemaUpdate |
setOutputFile(String outputFile) |
public void execute(EnumSet<TargetType> targetTypes, Metadata metadata)
public void execute(EnumSet<TargetType> targetTypes, Metadata metadata, ServiceRegistry serviceRegistry)
public List getExceptions()
public SchemaUpdate setHaltOnError(boolean haltOnError)
public SchemaUpdate setFormat(boolean format)
public SchemaUpdate setOutputFile(String outputFile)
public SchemaUpdate setDelimiter(String delimiter)
delimiter
- The delimiterpublic static void main(String[] args)
public static MetadataImplementor buildMetadataFromMainArgs(String[] args) throws Exception
main(java.lang.String[])
args
- The "command line args"Exception
- Problems building the MetadataCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.