Class AbstractVaultFsConfig

  • All Implemented Interfaces:
    VaultFsConfig

    public abstract class AbstractVaultFsConfig
    extends java.lang.Object
    implements VaultFsConfig
    JcrFsConfig...
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method 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)
      The specified stream remains open after this method returns.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • AbstractVaultFsConfig

        public AbstractVaultFsConfig()
    • Method Detail

      • load

        public static VaultFsConfig load​(java.io.InputStream in,
                                         java.lang.String name)
                                  throws ConfigurationException,
                                         java.io.IOException

        The specified stream remains open after this method returns.

        Parameters:
        in -
        name -
        Returns:
        Throws:
        ConfigurationException
        java.io.IOException
      • getProperty

        public java.lang.String getProperty​(java.lang.String name)
        Description copied from interface: VaultFsConfig
        Returns the configuration property with the given name or null if it is not defined.
        Specified by:
        getProperty in interface VaultFsConfig
        Parameters:
        name - the name of the property
        Returns:
        the value or null
      • getSource

        public java.io.InputStream getSource()
        Description copied from interface: VaultFsConfig
        Returns an input stream that contains the source xml that constructs this config
        Specified by:
        getSource in interface VaultFsConfig
        Returns:
        the source config
      • getSourceAsString

        public java.lang.String getSourceAsString()
        Description copied from interface: VaultFsConfig
        Returns the source xml that constructs this config
        Specified by:
        getSourceAsString in interface VaultFsConfig
        Returns:
        the source xml
      • getAggregators

        public java.util.List<Aggregator> getAggregators()
        Description copied from interface: VaultFsConfig
        Returns a list of configured aggregators.
        Specified by:
        getAggregators in interface VaultFsConfig
        Returns:
        the configured aggregators.
      • getHandlers

        public java.util.List<ArtifactHandler> getHandlers()
        Description copied from interface: VaultFsConfig
        Returns a list of configured artifact handlers.
        Specified by:
        getHandlers in interface VaultFsConfig
        Returns:
        the configured artifact handlers.