Uses of Interface
liquibase.resource.ResourceAccessor
Package
Description
Liquibase top level namespace package.
The change package contains the available database "changes".
Technically, a Change expresses an intention for alter the structure of the Database.
Although Liquibase tries to provide a wide range of database refactorings, there are times you may want to create
your own custom refactoring class.
-
Uses of ResourceAccessor in liquibase
ModifierConstructorDescriptionLiquibase
(String changeLogFile, ResourceAccessor resourceAccessor, Database database) Creates a Liquibase instance.Liquibase
(String changeLogFile, ResourceAccessor resourceAccessor, DatabaseConnection conn) Creates a Liquibase instance for a given DatabaseConnection.Liquibase
(DatabaseChangeLog changeLog, ResourceAccessor resourceAccessor, Database database) -
Uses of ResourceAccessor in liquibase.change
Modifier and TypeMethodDescriptionprotected void
AbstractChange.customLoadLogic
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
AbstractChange.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
AddColumnConfig.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
ColumnConfig.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
ConstraintsConfig.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
AbstractChange.setResourceAccessor
(ResourceAccessor resourceAccessor) void
Change.setResourceAccessor
(ResourceAccessor resourceAccessor) Deprecated. -
Uses of ResourceAccessor in liquibase.change.core
Modifier and TypeMethodDescriptionprotected ExecutablePreparedStatementBase
LoadDataChange.createPreparedStatement
(Database database, String catalogName, String schemaName, String tableName, List<LoadDataColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor) protected ExecutablePreparedStatementBase
LoadUpdateDataChange.createPreparedStatement
(Database database, String catalogName, String schemaName, String tableName, List<LoadDataColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor) protected void
CreateViewChange.customLoadLogic
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) protected void
DeleteDataChange.customLoadLogic
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) protected void
ExecuteShellCommandChange.customLoadLogic
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
RawSQLChange.customLoadLogic
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) protected void
StopChange.customLoadLogic
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) protected void
UpdateDataChange.customLoadLogic
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
LoadDataColumnConfig.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.change.custom
Modifier and TypeMethodDescriptionvoid
CustomChangeWrapper.customLoadLogic
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
CustomChangeWrapper.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
CustomChange.setFileOpener
(ResourceAccessor resourceAccessor) Sets the fileOpener that should be used for any file loading and resource finding for files that are provided by the user. -
Uses of ResourceAccessor in liquibase.change.visitor
Modifier and TypeMethodDescriptionvoid
AddColumnChangeVisitor.load
(ParsedNode node, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.changelog
Modifier and TypeMethodDescriptionprotected ChangeSet
DatabaseChangeLog.createChangeSet
(ParsedNode node, ResourceAccessor resourceAccessor) DatabaseChangeLog.findResources
(String pathName, boolean isRelativeToChangelogFile, IncludeAllFilter resourceFilter, boolean errorIfMissingOrEmpty, Comparator<String> resourceComparator, ResourceAccessor resourceAccessor, int minDepth, int maxDepth) Deprecated.DatabaseChangeLog.findResources
(String pathName, boolean isRelativeToChangelogFile, IncludeAllFilter resourceFilter, boolean errorIfMissingOrEmpty, Comparator<String> resourceComparator, ResourceAccessor resourceAccessor, int minDepth, int maxDepth, String endsWithFilter) protected void
ChangeSet.handleChildNode
(ParsedNode child, ResourceAccessor resourceAccessor) protected void
DatabaseChangeLog.handleChildNode
(ParsedNode node, ResourceAccessor resourceAccessor) protected void
DatabaseChangeLog.handleChildNode
(ParsedNode node, ResourceAccessor resourceAccessor, Map<String, Object> nodeScratch) void
DatabaseChangeLog.handleChildNodeHelper
(ParsedNode node, ResourceAccessor resourceAccessor, Map<String, Object> nodeScratch) protected void
ChangeSet.handleRollbackNode
(ParsedNode rollbackNode, ResourceAccessor resourceAccessor) boolean
DatabaseChangeLog.include
(String fileName, boolean isRelativePath, boolean errorIfMissing, ResourceAccessor resourceAccessor, ContextExpression includeContextFilter, LabelExpression labelExpression, Boolean ignore, boolean logEveryUnknownFileFormat) boolean
DatabaseChangeLog.include
(String fileName, boolean isRelativePath, boolean errorIfMissing, ResourceAccessor resourceAccessor, ContextExpression includeContextFilter, Labels labels, Boolean ignore, boolean logEveryUnknownFileFormat) boolean
DatabaseChangeLog.include
(String fileName, boolean isRelativePath, boolean errorIfMissing, ResourceAccessor resourceAccessor, ContextExpression includeContextFilter, Labels labels, Boolean ignore, String logicalFilePath, DatabaseChangeLog.OnUnknownFileFormat onUnknownFileFormat) boolean
DatabaseChangeLog.include
(String fileName, boolean isRelativePath, boolean errorIfMissing, ResourceAccessor resourceAccessor, ContextExpression includeContextFilter, Labels labels, Boolean ignore, String logicalFilePath, DatabaseChangeLog.OnUnknownFileFormat onUnknownFileFormat, ModifyChangeSets modifyChangeSets) boolean
DatabaseChangeLog.include
(String fileName, boolean isRelativePath, boolean errorIfMissing, ResourceAccessor resourceAccessor, ContextExpression includeContextFilter, Labels labels, Boolean ignore, DatabaseChangeLog.OnUnknownFileFormat onUnknownFileFormat) void
DatabaseChangeLog.includeAll
(String pathName, boolean isRelativeToChangelogFile, IncludeAllFilter resourceFilter, boolean errorIfMissingOrEmpty, Comparator<String> resourceComparator, ResourceAccessor resourceAccessor, ContextExpression includeContextFilter, LabelExpression labelExpression, boolean ignore) void
DatabaseChangeLog.includeAll
(String pathName, boolean isRelativeToChangelogFile, IncludeAllFilter resourceFilter, boolean errorIfMissingOrEmpty, Comparator<String> resourceComparator, ResourceAccessor resourceAccessor, ContextExpression includeContextFilter, Labels labels, boolean ignore, int minDepth, int maxDepth, ModifyChangeSets modifyChangeSets) Deprecated.void
DatabaseChangeLog.includeAll
(String pathName, boolean isRelativeToChangelogFile, IncludeAllFilter resourceFilter, boolean errorIfMissingOrEmpty, Comparator<String> resourceComparator, ResourceAccessor resourceAccessor, ContextExpression includeContextFilter, Labels labels, boolean ignore, String logicalFilePath, int minDepth, int maxDepth) void
DatabaseChangeLog.includeAll
(String pathName, boolean isRelativeToChangelogFile, IncludeAllFilter resourceFilter, boolean errorIfMissingOrEmpty, Comparator<String> resourceComparator, ResourceAccessor resourceAccessor, ContextExpression includeContextFilter, Labels labels, boolean ignore, String logicalFilePath, int minDepth, int maxDepth, String endsWithFilter, ModifyChangeSets modifyChangeSets) void
ChangeSet.load
(ParsedNode node, ResourceAccessor resourceAccessor) void
DatabaseChangeLog.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) protected Change
ChangeSet.toChange
(ParsedNode value, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.changelog.visitor
Modifier and TypeMethodDescriptionvoid
DBDocVisitor.writeHTML
(Resource rootOutputDir, ResourceAccessor resourceAccessor, CatalogAndSchema... schemaList) -
Uses of ResourceAccessor in liquibase.database
Modifier and TypeMethodDescriptionDatabaseFactory.openConnection
(String url, String username, String password, String driver, String databaseClass, String driverPropertiesFile, String propertyProviderClass, ResourceAccessor resourceAccessor) DatabaseFactory.openConnection
(String url, String username, String driver, String databaseClass, Properties driverProperties, ResourceAccessor resourceAccessor) DatabaseFactory.openConnection
(String url, String username, String password, String propertyProvider, ResourceAccessor resourceAccessor) DatabaseFactory.openDatabase
(String url, String username, String password, String driver, String databaseClass, String driverPropertiesFile, String propertyProviderClass, ResourceAccessor resourceAccessor) DatabaseFactory.openDatabase
(String url, String username, String driver, String databaseClass, Properties driverProperties, ResourceAccessor resourceAccessor) DatabaseFactory.openDatabase
(String url, String username, String password, String propertyProviderClass, ResourceAccessor resourceAccessor) void
LiquibaseExtDriver.setResourceAccessor
(ResourceAccessor accessor) -
Uses of ResourceAccessor in liquibase.dbdoc
ModifierConstructorDescriptionChangeLogWriter
(ResourceAccessor resourceAccessor, Resource rootOutputDir) -
Uses of ResourceAccessor in liquibase.executor
Modifier and TypeMethodDescriptionvoid
AbstractExecutor.setResourceAccessor
(ResourceAccessor resourceAccessor) Sets aResourceAccessor
object on this Executor to be used for file access.void
Executor.setResourceAccessor
(ResourceAccessor resourceAccessor) Set a ResourceAccessor on this Executor to be used in file access -
Uses of ResourceAccessor in liquibase.integration.ant
Modifier and TypeMethodDescriptionprotected ResourceAccessor
BaseLiquibaseTask.getResourceAccessor()
Modifier and TypeMethodDescriptionprotected Database
BaseLiquibaseTask.createDatabaseFromType
(DatabaseType databaseType, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.integration.ant.type
-
Uses of ResourceAccessor in liquibase.integration.cdi
-
Uses of ResourceAccessor in liquibase.integration.commandline
Modifier and TypeMethodDescriptionstatic Database
CommandLineUtils.createDatabaseObject
(ResourceAccessor resourceAccessor, String url, String username, String password, String driver, String defaultCatalogName, String defaultSchemaName, boolean outputDefaultCatalog, boolean outputDefaultSchema, String databaseClass, String driverPropertiesFile, String propertyProviderClass, String liquibaseCatalogName, String liquibaseSchemaName, String databaseChangeLogTableName, String databaseChangeLogLockTableName) Deprecated.static ChangeExecListener
ChangeExecListenerUtils.getChangeExecListener
(Database database, ResourceAccessor resourceAccessor, String changeExecListenerClass, String changeExecListenerPropertiesFile) -
Uses of ResourceAccessor in liquibase.integration.jakarta.cdi
-
Uses of ResourceAccessor in liquibase.integration.spring
Modifier and TypeMethodDescriptionprotected Database
SpringLiquibase.createDatabase
(Connection c, ResourceAccessor resourceAccessor) Subclasses may override this method to modify the database settings, such as the default schema, before returning the database object. -
Uses of ResourceAccessor in liquibase.parser
Modifier and TypeMethodDescriptionprotected void
AbstractFormattedChangeLogParser.configureChangeSet
(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, BufferedReader reader, StringBuilder currentSequence, StringBuilder currentRollbackSequence, ChangeSet changeSet, int count, String line, Matcher commentMatcher, ResourceAccessor resourceAccessor) protected void
AbstractFormattedChangeLogParser.configureChangeSet
(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, BufferedReader reader, StringBuilder currentSequence, StringBuilder currentRollbackSequence, ChangeSet changeSet, int count, String line, Matcher commentMatcher, ResourceAccessor resourceAccessor, DatabaseChangeLog changeLog, AbstractSQLChange change, Matcher rollbackSplitStatementsMatcher, boolean rollbackSplitStatements, String rollbackEndDelimiter, AtomicBoolean changeSetFinished) Configure the change set with its attributes.ChangeLogParserFactory.getParser
(String fileNameOrExtension, ResourceAccessor resourceAccessor) SnapshotParserFactory.getParser
(String fileNameOrExtension, ResourceAccessor resourceAccessor) protected boolean
AbstractFormattedChangeLogParser.handleAdditionalLines
(DatabaseChangeLog changeLog, ResourceAccessor resourceAccessor, String line) protected InputStream
AbstractFormattedChangeLogParser.openChangeLogFile
(String physicalChangeLogLocation, ResourceAccessor resourceAccessor) AbstractFormattedChangeLogParser.parse
(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor) ChangeLogParser.parse
(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor) Parses a Liquibase database changelog and returns the parsed form as an object.SnapshotParser.parse
(String path, ResourceAccessor resourceAccessor) boolean
AbstractFormattedChangeLogParser.supports
(String changeLogFile, ResourceAccessor resourceAccessor) boolean
ChangeLogParser.supports
(String changeLogFile, ResourceAccessor resourceAccessor) Checks if the file format is supported by an implementing ChangeLogParser and returns true if that is the case.boolean
SnapshotParser.supports
(String path, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.parser.core.sql
Modifier and TypeMethodDescriptionSqlChangeLogParser.parse
(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor) boolean
SqlChangeLogParser.supports
(String changeLogFile, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.parser.core.xml
Modifier and TypeMethodDescriptionAbstractChangeLogParser.parse
(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor) protected abstract ParsedNode
AbstractChangeLogParser.parseToNode
(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor) protected ParsedNode
XMLChangeLogSAXParser.parseToNode
(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor) boolean
XMLChangeLogSAXParser.supports
(String changeLogFile, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.parser.core.yaml
Modifier and TypeMethodDescriptionYamlChangeLogParser.parse
(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor) YamlSnapshotParser.parse
(String path, ResourceAccessor resourceAccessor) boolean
YamlParser.supports
(String changeLogFile, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.precondition
Modifier and TypeMethodDescriptionvoid
CustomPreconditionWrapper.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
Precondition.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
PreconditionLogic.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) protected Precondition
PreconditionLogic.toPrecondition
(ParsedNode node, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.precondition.core
Modifier and TypeMethodDescriptionvoid
PreconditionContainer.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.resource
Modifier and TypeClassDescriptionclass
class
Convenience base class forResourceAccessor
implementations.class
An implementation ofDirectoryResourceAccessor
that builds up the file roots based on the passedClassLoader
.class
AResourceAccessor
that contains multiple sub-accessors and combines the results of all of them.class
A @{link ResourceAccessor} implementation for files on the file system.class
Deprecated.class
class
This should generally be the overallResourceAccessor
used by integrations.class
Modifier and TypeMethodDescriptionDirectoryPathHandler.getResourceAccessor
(String root) PathHandler.getResourceAccessor
(String root) Parse the given path and return aResourceAccessor
for it.PathHandlerFactory.getResourceAccessor
(String root) Creates aResourceAccessor
for the given path.ZipPathHandler.getResourceAccessor
(String root) Modifier and TypeMethodDescriptionCompositeResourceAccessor.addResourceAccessor
(ResourceAccessor resourceAccessor) void
CompositeResourceAccessor.removeResourceAccessor
(ResourceAccessor resourceAccessor) ModifierConstructorDescriptionCompositeResourceAccessor
(ResourceAccessor... resourceAccessors) NotFoundResource
(String path, ResourceAccessor resourceAccessor) SearchPathResourceAccessor
(String searchPath, ResourceAccessor... defaultAccessors) Creates itself with the given searchPath value.SearchPathResourceAccessor
(ResourceAccessor... defaultAccessors) CallsSearchPathResourceAccessor(String, ResourceAccessor...)
with the current value ofGlobalConfiguration.SEARCH_PATH
.ModifierConstructorDescriptionCompositeResourceAccessor
(Collection<ResourceAccessor> resourceAccessors) -
Uses of ResourceAccessor in liquibase.sdk.resource
-
Uses of ResourceAccessor in liquibase.sdk.supplier.resource
-
Uses of ResourceAccessor in liquibase.serializer
Modifier and TypeMethodDescriptionvoid
AbstractLiquibaseSerializable.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
LiquibaseSerializable.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.snapshot
Modifier and TypeMethodDescriptionvoid
DatabaseSnapshot.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
SnapshotControl.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) protected void
DatabaseSnapshot.loadObjects
(Map<String, DatabaseObject> objectMap, Map<String, DatabaseObject> allObjects, ParsedNode node, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.sql.visitor
Modifier and TypeMethodDescriptionvoid
AbstractSqlVisitor.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.statement
ModifierConstructorDescriptionBatchDmlExecutablePreparedStatement
(Database database, String catalogName, String schemaName, String tableName, List<LoadDataColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor, List<ExecutablePreparedStatementBase> statements) protected
ExecutablePreparedStatementBase
(Database database, String catalogName, String schemaName, String tableName, List<? extends ColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor) InsertExecutablePreparedStatement
(Database database, String catalogName, String schemaName, String tableName, List<? extends ColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor) UpdateExecutablePreparedStatement
(Database database, String catalogName, String schemaName, String tableName, List<ColumnConfig> columns, ChangeSet changeSet, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.structure
Modifier and TypeMethodDescriptionvoid
AbstractDatabaseObject.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
DatabaseObjectCollection.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.structure.core
Modifier and TypeMethodDescriptionvoid
Column.AutoIncrementInformation.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
Column.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
Index.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
UniqueConstraint.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.util
Modifier and TypeMethodDescriptionstatic InputStream
StreamUtil.openStream
(String path, Boolean relativeToChangelogFile, ChangeSet changeSet, ResourceAccessor resourceAccessor) Deprecated. -
Uses of ResourceAccessor in org.liquibase.maven.plugins
Modifier and TypeClassDescriptionclass
Extension ofClassLoaderResourceAccessor
for Maven which will use a default or user specifiedClassLoader
to load files/resources.Modifier and TypeMethodDescriptionprotected ResourceAccessor
AbstractLiquibaseChangeLogMojo.getResourceAccessor
(ClassLoader cl) protected ResourceAccessor
AbstractLiquibaseMojo.getResourceAccessor
(ClassLoader cl)
Scope