01: package org.andromda.maven.plugin.andromdapp;
02:
03: /**
04: * Represents a schema management task.
05: *
06: * @author Chad Brandon
07: */
08: public interface SchemaManagement {
09: /**
10: * Executes the schema related task and returns the resulting SQL script (if applicable).
11: *
12: * @param connection the connection if required to execute the task.
13: * @param options the options used during execution.
14: *
15: * @throws Exception
16: */
17: public String execute(java.sql.Connection connection,
18: java.util.Map options) throws Exception;
19: }
|