schemacrawler.tools.options.Command Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of schemacrawler Show documentation
Show all versions of schemacrawler Show documentation
SchemaCrawler is an open-source Java API that makes working with database metadata as easy as working with plain old Java objects. SchemaCrawler is also a database schema discovery and comprehension, and schema documentation tool. You can search for database schema objects using regular expressions, and output the schema and data in a readable text format. The output is designed to be diff-ed against other database schemas.
package schemacrawler.tools.options;
import static sf.util.Utility.isBlank;
import schemacrawler.schemacrawler.Options;
public final class Command
implements Options
{
private static final long serialVersionUID = -3450943894546747834L;
private final String command;
public Command(final String command)
{
if (isBlank(command))
{
throw new IllegalArgumentException("No command specified");
}
this.command = command;
}
@Override
public String toString()
{
return command;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy