Class TestConfiguration


  • public class TestConfiguration
    extends Object
    This class define the configuration of a test.
    Since:
    2.0
    Author:
    Laurent Jourdren
    • Constructor Detail

      • TestConfiguration

        public TestConfiguration​(Settings settings,
                                 String prefix,
                                 Map<String,​String> globalConf)
        Public constructor.
        Parameters:
        settings - Aozan settings
        prefix - test prefix
        globalConf - global configuration
      • TestConfiguration

        public TestConfiguration​(Map<String,​String> map)
        Public constructor.
        Parameters:
        map - Collector configuration
    • Method Detail

      • get

        public String get​(String key)
        Get a setting value.
        Parameters:
        key - the setting key
        Returns:
        the value of the setting
      • getSampleSheet

        public fr.ens.biologie.genomique.kenetre.illumina.samplesheet.SampleSheet getSampleSheet​(String key)
        Get a sample sheet.
        Parameters:
        key - the setting key
        Returns:
        the sample sheet in the configuration or an empty sample sheet
      • containsKey

        public boolean containsKey​(String key)
        Test if the configuration contains a key.
        Parameters:
        key - the key to test
        Returns:
        true if the configuration contains the key
      • entrySet

        public Set<Map.Entry<String,​String>> entrySet()
        Get an entry set of the setting values.
        Returns:
        an entry set of the settings
      • isEmpty

        public boolean isEmpty()
        Test if the configuration is empty.
        Returns:
        true if the configuration is empty