Class AutomatedAnalysisToTemplate
- java.lang.Object
-
- ca.corefacility.bioinformatics.irida.database.changesets.AutomatedAnalysisToTemplate
-
- All Implemented Interfaces:
liquibase.change.custom.CustomChange
,liquibase.change.custom.CustomSqlChange
public class AutomatedAnalysisToTemplate extends java.lang.Object implements liquibase.change.custom.CustomSqlChange
Liquibase update to convert the project settings for automated Assembly and SISTR checkboxes to analysis templates.
-
-
Constructor Summary
Constructors Constructor Description AutomatedAnalysisToTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description liquibase.statement.SqlStatement[]
generateStatements(liquibase.database.Database database)
java.lang.String
getConfirmationMessage()
void
setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor)
void
setUp()
liquibase.exception.ValidationErrors
validate(liquibase.database.Database database)
-
-
-
Method Detail
-
generateStatements
public liquibase.statement.SqlStatement[] generateStatements(liquibase.database.Database database) throws liquibase.exception.CustomChangeException
- Specified by:
generateStatements
in interfaceliquibase.change.custom.CustomSqlChange
- Throws:
liquibase.exception.CustomChangeException
-
getConfirmationMessage
public java.lang.String getConfirmationMessage()
- Specified by:
getConfirmationMessage
in interfaceliquibase.change.custom.CustomChange
-
setUp
public void setUp() throws liquibase.exception.SetupException
- Specified by:
setUp
in interfaceliquibase.change.custom.CustomChange
- Throws:
liquibase.exception.SetupException
-
setFileOpener
public void setFileOpener(liquibase.resource.ResourceAccessor resourceAccessor)
- Specified by:
setFileOpener
in interfaceliquibase.change.custom.CustomChange
-
validate
public liquibase.exception.ValidationErrors validate(liquibase.database.Database database)
- Specified by:
validate
in interfaceliquibase.change.custom.CustomChange
-
-