public class SearchPathResourceAccessor extends CompositeResourceAccessor
ResourceAccessor
used by integrations.
It aggregates integration-specific resource accessors with the standard GlobalConfiguration.SEARCH_PATH
setting
to create the overall "search path" for Liquibase.ResourceAccessor.NotFoundResource
Constructor and Description |
---|
SearchPathResourceAccessor(ResourceAccessor... defaultAccessors)
Calls
SearchPathResourceAccessor(String, ResourceAccessor...) with the current value of GlobalConfiguration.SEARCH_PATH . |
SearchPathResourceAccessor(String searchPath,
ResourceAccessor... defaultAccessors)
Creates itself with the given searchPath value.
|
Modifier and Type | Method and Description |
---|---|
SearchPathResourceAccessor |
addResourceAccessor(String root)
Adds the given root as a new resource accessor, using
PathHandlerFactory to find the right PathHandler . |
addResourceAccessor, close, describeLocations, getAll, removeResourceAccessor, search
clone, describe, equals, get, get, get, getAttributes, getFieldValue, getObjectMetaData, getValuePath, has, hashCode, set, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
get, getExisting, list, openStream, openStreams
public SearchPathResourceAccessor(ResourceAccessor... defaultAccessors)
SearchPathResourceAccessor(String, ResourceAccessor...)
with the current value of GlobalConfiguration.SEARCH_PATH
.public SearchPathResourceAccessor(String searchPath, ResourceAccessor... defaultAccessors)
GlobalConfiguration.SEARCH_PATH
are invalid, an error is logged but no exception is thrown from this method.defaultAccessors
- Only uses these accessors if searchPath is null.public SearchPathResourceAccessor addResourceAccessor(String root) throws IOException
PathHandlerFactory
to find the right PathHandler
.IOException
Copyright © 2023 Liquibase.org. All rights reserved.