org.hibernate.tool.schema.internal.exec.GenerationTarget Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hibernate-core Show documentation
Show all versions of hibernate-core Show documentation
JPMS Module-Info's for a few of the Jakarta Libraries just until they add them in themselves
/*
* Hibernate, Relational Persistence for Idiomatic Java
*
* License: GNU Lesser General Public License (LGPL), version 2.1 or later.
* See the lgpl.txt file in the root directory or .
*/
package org.hibernate.tool.schema.internal.exec;
import org.hibernate.tool.schema.spi.SchemaManagementException;
/**
* Describes a schema generation target
*
* @author Steve Ebersole
*/
public interface GenerationTarget {
/**
* Prepare for accepting actions
*
* @throws SchemaManagementException If there is a problem preparing the target.
*/
void prepare();
/**
* Accept a command
*
* @param command The command
*
* @throws SchemaManagementException If there is a problem accepting the action.
*/
void accept(String command);
/**
* Release this target, giving it a change to release its resources.
*
* @throws SchemaManagementException If there is a problem releasing the target.
*/
void release();
}