public abstract class AbstractVaultFsConfig extends java.lang.Object implements VaultFsConfig
JcrFsConfig
...Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ATTR_VERSION |
NAME_USE_BINARY_REFERENCES
Constructor and Description |
---|
AbstractVaultFsConfig() |
Modifier and Type | Method and Description |
---|---|
java.util.List<Aggregator> |
getAggregators()
Returns a list of configured aggregators.
|
java.util.List<ArtifactHandler> |
getHandlers()
Returns a list of configured artifact handlers.
|
java.lang.String |
getProperty(java.lang.String name)
Returns the configuration property with the given name or
null if it is not defined. |
java.io.InputStream |
getSource()
Returns an input stream that contains the source xml that constructs this config
|
java.lang.String |
getSourceAsString()
Returns the source xml that constructs this config
|
static VaultFsConfig |
load(java.io.File file) |
static VaultFsConfig |
load(java.io.InputStream in,
java.lang.String name) |
public static final java.lang.String ATTR_VERSION
public static VaultFsConfig load(java.io.File file) throws ConfigurationException, java.io.IOException
ConfigurationException
java.io.IOException
public static VaultFsConfig load(java.io.InputStream in, java.lang.String name) throws ConfigurationException, java.io.IOException
ConfigurationException
java.io.IOException
public java.lang.String getProperty(java.lang.String name)
VaultFsConfig
null
if it is not defined.getProperty
in interface VaultFsConfig
name
- the name of the propertypublic java.io.InputStream getSource()
VaultFsConfig
getSource
in interface VaultFsConfig
public java.lang.String getSourceAsString()
VaultFsConfig
getSourceAsString
in interface VaultFsConfig
public java.util.List<Aggregator> getAggregators()
VaultFsConfig
getAggregators
in interface VaultFsConfig
public java.util.List<ArtifactHandler> getHandlers()
VaultFsConfig
getHandlers
in interface VaultFsConfig
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"