All Downloads are FREE. Search and download functionalities are using the official Maven repository.

schemacrawler.tools.options.Command Maven / Gradle / Ivy

Go to download

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.

There is a newer version: 16.24.2
Show newest version
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