Package org.hibernate.tool.schema.spi
Class SchemaManagementToolCoordinator.ActionGrouping
java.lang.Object
org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.ActionGrouping
- Enclosing class:
- SchemaManagementToolCoordinator
For JPA-style schema-gen, database and script target handing are configured
individually - this tuple allows interpreting the action for both targets
simultaneously
-
Constructor Summary
ConstructorsConstructorDescriptionActionGrouping
(String contributor, Action databaseAction, Action scriptAction) -
Method Summary
Modifier and TypeMethodDescriptionstatic Action
determineAutoSettingImpliedAction
(Map<?, ?> settings, String contributor, Action defaultValue) static Action
determineJpaDbActionSetting
(Map<?, ?> configurationValues, String contributor, Action defaultValue) Exposed for testsstatic Action
determineJpaScriptActionSetting
(Map<?, ?> configurationValues, String contributor, Action defaultValue) Exposed for testsboolean
int
hashCode()
For test use.
-
Constructor Details
-
ActionGrouping
-
-
Method Details
-
getContributor
-
getDatabaseAction
-
getScriptAction
-
interpret
@Internal public static SchemaManagementToolCoordinator.ActionGrouping interpret(Map<?, ?> configurationValues) For test use. Seeinterpret(Metadata, Map)
for the "real" impl -
determineJpaDbActionSetting
@Internal public static Action determineJpaDbActionSetting(Map<?, ?> configurationValues, String contributor, Action defaultValue) Exposed for tests -
determineJpaScriptActionSetting
@Internal public static Action determineJpaScriptActionSetting(Map<?, ?> configurationValues, String contributor, Action defaultValue) Exposed for tests -
determineAutoSettingImpliedAction
-
interpret
public static Set<SchemaManagementToolCoordinator.ActionGrouping> interpret(Set<String> contributors, Map<?, ?> configurationValues) -
interpret
public static Set<SchemaManagementToolCoordinator.ActionGrouping> interpret(Metadata metadata, Map<?, ?> configurationValues) -
equals
-
hashCode
public int hashCode()
-