1 package org.andromda.maven.plugin.andromdapp; 2 3 import java.sql.Connection; 4 import java.util.Map; 5 6 /** 7 * Represents a schema management task. 8 * 9 * @author Chad Brandon 10 */ 11 public interface SchemaManagement 12 { 13 /** 14 * Executes the schema related task and returns the resulting SQL script (if applicable). 15 * 16 * @param connection the connection if required to execute the task. 17 * @param options the options used during execution. 18 * @return SQL script 19 * 20 * @throws Exception 21 */ 22 public String execute(Connection connection, Map options) throws Exception; 23 }