public abstract class AbstractVaultFsConfig extends Object implements VaultFsConfig
JcrFsConfig...| Modifier and Type | Field and Description |
|---|---|
static String |
ATTR_VERSION |
NAME_USE_BINARY_REFERENCES| Constructor and Description |
|---|
AbstractVaultFsConfig() |
| Modifier and Type | Method and Description |
|---|---|
List<Aggregator> |
getAggregators()
Returns a list of configured aggregators.
|
List<ArtifactHandler> |
getHandlers()
Returns a list of configured artifact handlers.
|
String |
getProperty(String name)
Returns the configuration property with the given name or
null if it is not defined. |
InputStream |
getSource()
Returns an input stream that contains the source xml that constructs this config
|
String |
getSourceAsString()
Returns the source xml that constructs this config
|
static VaultFsConfig |
load(File file) |
static VaultFsConfig |
load(InputStream in,
String name)
The specified stream remains open after this method returns.
|
public static final String ATTR_VERSION
public static VaultFsConfig load(File file) throws ConfigurationException, IOException
ConfigurationExceptionIOExceptionpublic static VaultFsConfig load(InputStream in, String name) throws ConfigurationException, IOException
The specified stream remains open after this method returns.
in - name - ConfigurationExceptionIOExceptionpublic String getProperty(String name)
VaultFsConfignull if it is not defined.getProperty in interface VaultFsConfigname - the name of the propertypublic InputStream getSource()
VaultFsConfiggetSource in interface VaultFsConfigpublic String getSourceAsString()
VaultFsConfiggetSourceAsString in interface VaultFsConfigpublic List<Aggregator> getAggregators()
VaultFsConfiggetAggregators in interface VaultFsConfigpublic List<ArtifactHandler> getHandlers()
VaultFsConfiggetHandlers in interface VaultFsConfigCopyright © 2010 - 2020 Adobe. All Rights Reserved