Class FileSource

  • All Implemented Interfaces:
    ParentSource, Source
    Direct Known Subclasses:
    DefaultConfigSource

    @ComponentProfile(summary="A file source for the adapter or service config")
    public class FileSource
    extends java.lang.Object
    implements ParentSource

    In the service test configuration this class is aliased as file-source which is the preferred alternative to the fully qualified classname when building your configuration.

    • Constructor Summary

      Constructors 
      Constructor Description
      FileSource()  
      FileSource​(java.lang.String file)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getFile()
      Location of the XML configuration file
      java.lang.String getSource​(ServiceTestConfig config)  
      void setFile​(java.lang.String file)
      Location of the XML configuration file
      • Methods inherited from class java.lang.Object

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

      • FileSource

        public FileSource()
      • FileSource

        public FileSource​(java.lang.String file)
    • Method Detail

      • setFile

        public void setFile​(java.lang.String file)
        Location of the XML configuration file
        Parameters:
        file -
      • getFile

        public java.lang.String getFile()
        Location of the XML configuration file
        Returns:
        file