Class AbstractVaultFsConfig
java.lang.Object
org.apache.jackrabbit.vault.fs.config.AbstractVaultFsConfig
- All Implemented Interfaces:
VaultFsConfig
JcrFsConfig...-
Field Summary
FieldsFields inherited from interface org.apache.jackrabbit.vault.fs.api.VaultFsConfig
NAME_USE_BINARY_REFERENCES -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidReturns a list of configured aggregators.protected static Collection<Element>getChildElements(Node elem) Returns a list of configured artifact handlers.getProperty(String name) Returns the configuration property with the given name ornullif it is not defined.Returns an input stream that contains the source xml that constructs this configReturns the source xml that constructs this configstatic VaultFsConfigstatic VaultFsConfigload(InputStream in, String name) The specified stream remains open after this method returns.protected abstract void
-
Field Details
-
ATTR_VERSION
- See Also:
-
-
Constructor Details
-
AbstractVaultFsConfig
public AbstractVaultFsConfig()
-
-
Method Details
-
load
- Throws:
ConfigurationExceptionIOException
-
load
public static VaultFsConfig load(InputStream in, String name) throws ConfigurationException, IOException The specified stream remains open after this method returns.
- Parameters:
in-name-- Returns:
- Throws:
ConfigurationExceptionIOException
-
getProperties
-
getProperty
Description copied from interface:VaultFsConfigReturns the configuration property with the given name ornullif it is not defined.- Specified by:
getPropertyin interfaceVaultFsConfig- Parameters:
name- the name of the property- Returns:
- the value or null
-
process
- Throws:
ConfigurationException
-
getSource
Description copied from interface:VaultFsConfigReturns an input stream that contains the source xml that constructs this config- Specified by:
getSourcein interfaceVaultFsConfig- Returns:
- the source config
-
getSourceAsString
Description copied from interface:VaultFsConfigReturns the source xml that constructs this config- Specified by:
getSourceAsStringin interfaceVaultFsConfig- Returns:
- the source xml
-
getAggregators
Description copied from interface:VaultFsConfigReturns a list of configured aggregators.- Specified by:
getAggregatorsin interfaceVaultFsConfig- Returns:
- the configured aggregators.
-
getHandlers
Description copied from interface:VaultFsConfigReturns a list of configured artifact handlers.- Specified by:
getHandlersin interfaceVaultFsConfig- Returns:
- the configured artifact handlers.
-
getChildElements
-
fail
- Throws:
ConfigurationException
-