public class ClearDatabaseLifecycle extends org.kuali.rice.core.api.lifecycle.BaseLifecycle
| Modifier and Type | Field and Description | 
|---|---|
| protected static org.apache.log4j.Logger | LOG | 
| static Integer | START_CLEAR_ID | 
| static String | TEST_TABLE_NAME | 
| Constructor and Description | 
|---|
| ClearDatabaseLifecycle() | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | clearTables(org.springframework.transaction.PlatformTransactionManager transactionManager,
                      DataSource dataSource,
                      String schemaName) | 
| List<String> | getAlternativeTablesToClear() | 
| List<String> | getTablesToClear() | 
| protected Boolean | getTestTableInSchema(DataSource dataSource) | 
| void | start() | 
| protected void | verifyTestEnvironment(DataSource dataSource) | 
protected static final org.apache.log4j.Logger LOG
public static final String TEST_TABLE_NAME
public static final Integer START_CLEAR_ID
public ClearDatabaseLifecycle()
public void start() throws Exception
start in interface org.kuali.rice.core.api.lifecycle.Lifecyclestart in class org.kuali.rice.core.api.lifecycle.BaseLifecycleExceptionprotected Boolean getTestTableInSchema(DataSource dataSource)
protected void verifyTestEnvironment(DataSource dataSource)
protected void clearTables(org.springframework.transaction.PlatformTransactionManager transactionManager, DataSource dataSource, String schemaName)
public List<String> getTablesToClear()
public List<String> getAlternativeTablesToClear()
Copyright © 2004–2015 The Kuali Foundation. All rights reserved.