接口 TargetDescriptor
-
- 所有已知子接口:
JpaTargetAndSourceDescriptor
public interface TargetDescriptorDescribes the target(s) of schema create, drop and migrate actions. The purpose of this "abstraction" of a target is to enable other back-ends (OGM) by simply describing where to target rather than defining the targets themselves. The reason being that ultimately the Java type representing a "DDL command" sent to these targets might be different (e.g., String for JDBC).- 作者:
- Steve Ebersole
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 ScriptTargetOutputgetScriptTargetOutput()IfgetTargetTypes()includes scripts, return a representation of the script file to write to.EnumSet<TargetType>getTargetTypes()The target type described here.
-
-
-
方法详细资料
-
getTargetTypes
EnumSet<TargetType> getTargetTypes()
The target type described here.- 返回:
- The target type.
-
getScriptTargetOutput
ScriptTargetOutput getScriptTargetOutput()
IfgetTargetTypes()includes scripts, return a representation of the script file to write to. Otherwise, returnsnull. While it is ultimately up to the actual tooling provider, it is generally an error forgetTargetTypes()to indicate that scripts are a target and for this method to returnnull.- 返回:
- The script output target
-
-