View Javadoc
1   package org.kuali.ole;
2   
3   import org.kuali.common.util.DefaultProjectContext;
4   import org.kuali.common.util.Str;
5   import org.kuali.ole.utility.Constants;
6   
7   import java.util.ArrayList;
8   import java.util.List;
9   
10  /**
11   * Created by pvsubrah on 7/15/14.
12   */
13  public class OleLiquibaseSqlProjectContext extends DefaultProjectContext {
14      private static final String ARTIFACT_ID = "ole-liquibase-upgrade-sql";
15  
16      public OleLiquibaseSqlProjectContext() {
17          super(Constants.GROUP_ID, ARTIFACT_ID, getLocations());
18      }
19  
20      private static List<String> getLocations() {
21          List<String> locations = new ArrayList<String>();
22          locations.add("classpath:" + Str.getPath(Constants.GROUP_ID) + "/" + ARTIFACT_ID + "/ole-liquibase-upgrade-sql-controller.properties");
23          return locations;
24      }
25  }