Uses of Interface
liquibase.resource.ResourceAccessor
Packages that use 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
Methods in liquibase that return ResourceAccessorConstructors in liquibase with parameters of type ResourceAccessorModifierConstructorDescriptionLiquibase
(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
Methods in liquibase.change that return ResourceAccessorMethods in liquibase.change with parameters of type ResourceAccessorModifier 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
Methods in liquibase.change.core with parameters of type ResourceAccessorModifier 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
Methods in liquibase.change.custom with parameters of type ResourceAccessorModifier 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
Methods in liquibase.change.visitor with parameters of type ResourceAccessorModifier and TypeMethodDescriptionvoid
AddColumnChangeVisitor.load
(ParsedNode node, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.changelog
Methods in liquibase.changelog with parameters of type ResourceAccessorModifier 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, DatabaseChangeLog.OnUnknownFileFormat onUnknownFileFormat) boolean
DatabaseChangeLog.include
(String fileName, boolean isRelativePath, boolean errorIfMissing, ResourceAccessor resourceAccessor, ContextExpression includeContextFilter, Labels labels, Boolean ignore, DatabaseChangeLog.OnUnknownFileFormat onUnknownFileFormat, ModifyChangeSets modifyChangeSets) 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) 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, String endsWithFilter, ModifyChangeSets modifyChangeSets) 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
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
Methods in liquibase.changelog.visitor with parameters of type ResourceAccessorModifier and TypeMethodDescriptionvoid
DBDocVisitor.writeHTML
(Resource rootOutputDir, ResourceAccessor resourceAccessor, CatalogAndSchema... schemaList) -
Uses of ResourceAccessor in liquibase.database
Methods in liquibase.database with parameters of type ResourceAccessorModifier 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) Constructors in liquibase.database with parameters of type ResourceAccessor -
Uses of ResourceAccessor in liquibase.dbdoc
Constructors in liquibase.dbdoc with parameters of type ResourceAccessorModifierConstructorDescriptionChangeLogWriter
(ResourceAccessor resourceAccessor, Resource rootOutputDir) -
Uses of ResourceAccessor in liquibase.executor
Fields in liquibase.executor declared as ResourceAccessorMethods in liquibase.executor with parameters of type ResourceAccessorModifier 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
Classes in liquibase.integration.ant that implement ResourceAccessorMethods in liquibase.integration.ant that return ResourceAccessorModifier and TypeMethodDescriptionprotected ResourceAccessor
BaseLiquibaseTask.getResourceAccessor()
Methods in liquibase.integration.ant with parameters of type ResourceAccessorModifier and TypeMethodDescriptionprotected Database
BaseLiquibaseTask.createDatabaseFromType
(DatabaseType databaseType, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.integration.ant.type
Methods in liquibase.integration.ant.type with parameters of type ResourceAccessor -
Uses of ResourceAccessor in liquibase.integration.cdi
Methods in liquibase.integration.cdi that return ResourceAccessor -
Uses of ResourceAccessor in liquibase.integration.commandline
Methods in liquibase.integration.commandline with parameters of type ResourceAccessorModifier 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
Methods in liquibase.integration.jakarta.cdi that return ResourceAccessor -
Uses of ResourceAccessor in liquibase.integration.spring
Classes in liquibase.integration.spring that implement ResourceAccessorMethods in liquibase.integration.spring with parameters of type ResourceAccessorModifier 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
Methods in liquibase.parser with parameters of type ResourceAccessorModifier 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
Methods in liquibase.parser.core.sql with parameters of type ResourceAccessorModifier and TypeMethodDescriptionSqlChangeLogParser.parse
(String physicalChangeLogLocation, ChangeLogParameters changeLogParameters, ResourceAccessor resourceAccessor) boolean
SqlChangeLogParser.supports
(String changeLogFile, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.parser.core.xml
Methods in liquibase.parser.core.xml with parameters of type ResourceAccessorModifier 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
Methods in liquibase.parser.core.yaml with parameters of type ResourceAccessorModifier 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
Methods in liquibase.precondition with parameters of type ResourceAccessorModifier 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
Methods in liquibase.precondition.core with parameters of type ResourceAccessorModifier and TypeMethodDescriptionvoid
PreconditionContainer.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.resource
Classes in liquibase.resource that implement ResourceAccessorModifier 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
Methods in liquibase.resource that return ResourceAccessorModifier 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) Methods in liquibase.resource with parameters of type ResourceAccessorModifier and TypeMethodDescriptionCompositeResourceAccessor.addResourceAccessor
(ResourceAccessor resourceAccessor) void
CompositeResourceAccessor.removeResourceAccessor
(ResourceAccessor resourceAccessor) Constructors in liquibase.resource with parameters of type ResourceAccessorModifierConstructorDescriptionCompositeResourceAccessor
(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
.Constructor parameters in liquibase.resource with type arguments of type ResourceAccessorModifierConstructorDescriptionCompositeResourceAccessor
(Collection<ResourceAccessor> resourceAccessors) -
Uses of ResourceAccessor in liquibase.sdk.resource
Classes in liquibase.sdk.resource that implement ResourceAccessor -
Uses of ResourceAccessor in liquibase.sdk.supplier.resource
Methods in liquibase.sdk.supplier.resource that return ResourceAccessor -
Uses of ResourceAccessor in liquibase.serializer
Methods in liquibase.serializer with parameters of type ResourceAccessorModifier and TypeMethodDescriptionvoid
AbstractLiquibaseSerializable.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
LiquibaseSerializable.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.snapshot
Methods in liquibase.snapshot with parameters of type ResourceAccessorModifier 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
Methods in liquibase.sql.visitor with parameters of type ResourceAccessorModifier and TypeMethodDescriptionvoid
AbstractSqlVisitor.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.statement
Methods in liquibase.statement that return ResourceAccessorConstructors in liquibase.statement with parameters of type ResourceAccessorModifierConstructorDescriptionBatchDmlExecutablePreparedStatement
(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
Methods in liquibase.structure with parameters of type ResourceAccessorModifier and TypeMethodDescriptionvoid
AbstractDatabaseObject.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) void
DatabaseObjectCollection.load
(ParsedNode parsedNode, ResourceAccessor resourceAccessor) -
Uses of ResourceAccessor in liquibase.structure.core
Methods in liquibase.structure.core with parameters of type ResourceAccessorModifier 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
Methods in liquibase.util with parameters of type ResourceAccessorModifier and TypeMethodDescriptionstatic InputStream
StreamUtil.openStream
(String path, Boolean relativeToChangelogFile, ChangeSet changeSet, ResourceAccessor resourceAccessor) Deprecated. -
Uses of ResourceAccessor in org.liquibase.maven.plugins
Classes in org.liquibase.maven.plugins that implement ResourceAccessorModifier and TypeClassDescriptionclass
Extension ofClassLoaderResourceAccessor
for Maven which will use a default or user specifiedClassLoader
to load files/resources.Methods in org.liquibase.maven.plugins that return ResourceAccessorModifier and TypeMethodDescriptionprotected ResourceAccessor
AbstractLiquibaseChangeLogMojo.getResourceAccessor
(ClassLoader cl) protected ResourceAccessor
AbstractLiquibaseMojo.getResourceAccessor
(ClassLoader cl)
Scope