Package org.hibernate.tool.schema.spi
Class SchemaManagementToolCoordinator.ActionGrouping
- java.lang.Object
-
- org.hibernate.tool.schema.spi.SchemaManagementToolCoordinator.ActionGrouping
-
- Enclosing class:
- SchemaManagementToolCoordinator
public static class SchemaManagementToolCoordinator.ActionGrouping extends Object
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
Constructors Constructor Description ActionGrouping(String contributor, Action databaseAction, Action scriptAction)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static 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
equals(Object o)
String
getContributor()
Action
getDatabaseAction()
Action
getScriptAction()
int
hashCode()
static SchemaManagementToolCoordinator.ActionGrouping
interpret(Map<?,?> configurationValues)
For test use.static Set<SchemaManagementToolCoordinator.ActionGrouping>
interpret(Set<String> contributors, Map<?,?> configurationValues)
static Set<SchemaManagementToolCoordinator.ActionGrouping>
interpret(Metadata metadata, Map<?,?> configurationValues)
-
-
-
Method Detail
-
getContributor
public String getContributor()
-
getDatabaseAction
public Action getDatabaseAction()
-
getScriptAction
public Action 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
public static Action determineAutoSettingImpliedAction(Map<?,?> settings, String contributor, Action defaultValue)
-
interpret
public static Set<SchemaManagementToolCoordinator.ActionGrouping> interpret(Set<String> contributors, Map<?,?> configurationValues)
-
interpret
public static Set<SchemaManagementToolCoordinator.ActionGrouping> interpret(Metadata metadata, Map<?,?> configurationValues)
-
-