Interface GenerationTarget
-
- All Known Implementing Classes:
GenerationTargetToDatabase
,GenerationTargetToScript
,GenerationTargetToStdout
,JournalingGenerationTarget
public interface GenerationTarget
Describes a schema generation target
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
accept(String command)
Accept a commandvoid
prepare()
Prepare for accepting actionsvoid
release()
Release this target, giving it a change to release its resources.
-
-
-
Method Detail
-
prepare
void prepare()
Prepare for accepting actions- Throws:
SchemaManagementException
- If there is a problem preparing the target.
-
accept
void accept(String command)
Accept a command- Parameters:
command
- The command- Throws:
SchemaManagementException
- If there is a problem accepting the action.
-
release
void release()
Release this target, giving it a change to release its resources.- Throws:
SchemaManagementException
- If there is a problem releasing the target.
-
-