liquibase.resource.ResourceAccessor that contains multiple sub-accessors and combines the results of all of them.
For the "overall" aggregate resource accessor, integrations should generally use SearchPathResourceAccessor instead of this.
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| public CompositeResourceAccessor | |
| public void | close()
Implements java. Closes this resource, relinquishing any underlying resources. |
| public List | describeLocations()
Implements liquibase. Returns a description of the places this classloader will look for paths. |
| public List | getAll(String path)
Implements liquibase. Returns all |
| public void | |
| public List | search(String
The path to lookup resources in. path, ResourceAccessor.A set of criteria for how resources should be found/filtered searchOptionsOverrides default liquibase. Returns the path to all resources contained in the given path that match the searchOptions criteria. |
| public List | search(String
The path to lookup resources in. path, boolean Set to true and will return paths to contents in subdirectories as well. recursive)Implements liquibase. Returns the path to all resources contained in the given path. |
| resourceAccessors | back to summary |
|---|---|
| private final List<ResourceAccessor> resourceAccessors | |
| CompositeResourceAccessor | back to summary |
|---|---|
| public CompositeResourceAccessor(ResourceAccessor... resourceAccessors) | |
| CompositeResourceAccessor | back to summary |
|---|---|
| public CompositeResourceAccessor(Collection<ResourceAccessor> resourceAccessors) | |
| addResourceAccessor | back to summary |
|---|---|
| public CompositeResourceAccessor addResourceAccessor(ResourceAccessor resourceAccessor) | |
| close | back to summary |
|---|---|
| public void close() throws Exception Implements java. Doc from java. Closes this resource, relinquishing any underlying resources.
This method is invoked automatically on objects managed by the
| |
| describeLocations | back to summary |
|---|---|
| public List Implements liquibase. Doc from liquibase. Returns a description of the places this classloader will look for paths. Used in error messages and other troubleshooting cases.
| |
| getAll | back to summary |
|---|---|
| public List Implements liquibase. Doc from liquibase. Returns all
If the resourceAccessor returns multiple values, the returned List should be considered sorted for that resource accessor.
For example,
| |
| removeResourceAccessor | back to summary |
|---|---|
| public void removeResourceAccessor(ResourceAccessor resourceAccessor) | |
| search | back to summary |
|---|---|
| public List Overrides default liquibase. Doc from liquibase. Returns the path to all resources contained in the given path that match the searchOptions criteria.
Multiple resources may be returned with the same path, but only if they are actually unique files.
Order is important to pay attention to, they should be returned in a user-expected manner based on this resource accessor.
| |
| search | back to summary |
|---|---|
| public List Implements liquibase. Doc from liquibase. Returns the path to all resources contained in the given path.
Multiple resources may be returned with the same path, but only if they are actually unique files.
Order is important to pay attention to, they should be returned in a user-expected manner based on this resource accessor.
| |