Uses of Enum Class
org.pgcodekeeper.core.DangerStatement
Packages that use DangerStatement
Package
Description
-
Uses of DangerStatement in org.pgcodekeeper.core
Methods in org.pgcodekeeper.core that return DangerStatementModifier and TypeMethodDescriptionstatic DangerStatementReturns the enum constant of this class with the specified name.static DangerStatement[]DangerStatement.values()Returns an array containing the constants of this enum class, in the order they are declared.Methods in org.pgcodekeeper.core that return types with arguments of type DangerStatementModifier and TypeMethodDescriptionstatic Set<DangerStatement>DangerStatement.getAllowedDanger(boolean ignoreDropCol, boolean ignoreAlterCol, boolean ignoreDropTable, boolean ignoreRestartWith, boolean ignoreUpdate) Creates a set of dangerous statements that should be considered "allowed" based on the provided ignore flags. -
Uses of DangerStatement in org.pgcodekeeper.core.api
Methods in org.pgcodekeeper.core.api that return types with arguments of type DangerStatementModifier and TypeMethodDescriptionstatic Set<DangerStatement>PgCodeKeeperApi.checkDangerousStatements(IDatabaseProvider provider, String name, String sql, DiffSettings diffSettings, Collection<DangerStatement> allowedDangers) Checks SQL script for dangerous operations (DROP TABLE, ALTER COLUMN, etc.).Method parameters in org.pgcodekeeper.core.api with type arguments of type DangerStatementModifier and TypeMethodDescriptionstatic Set<DangerStatement>PgCodeKeeperApi.checkDangerousStatements(IDatabaseProvider provider, String name, String sql, DiffSettings diffSettings, Collection<DangerStatement> allowedDangers) Checks SQL script for dangerous operations (DROP TABLE, ALTER COLUMN, etc.). -
Uses of DangerStatement in org.pgcodekeeper.core.database.api.schema
Methods in org.pgcodekeeper.core.database.api.schema that return DangerStatementMethods in org.pgcodekeeper.core.database.api.schema with parameters of type DangerStatement -
Uses of DangerStatement in org.pgcodekeeper.core.database.base.parser
Methods in org.pgcodekeeper.core.database.base.parser that return types with arguments of type DangerStatementModifier and TypeMethodDescriptionScriptParser.getDangerDdl(Collection<DangerStatement> allowedDangers) Gets the set of dangerous DDL statements not in the allowed set.Method parameters in org.pgcodekeeper.core.database.base.parser with type arguments of type DangerStatementModifier and TypeMethodDescriptionScriptParser.getDangerDdl(Collection<DangerStatement> allowedDangers) Gets the set of dangerous DDL statements not in the allowed set.booleanScriptParser.isDangerDdl(Collection<DangerStatement> allowedDangers) Checks if the script contains dangerous DDL statements not in the allowed set.