Class TestConfiguration
- java.lang.Object
-
- fr.ens.biologie.genomique.aozan.tests.TestConfiguration
-
public class TestConfiguration extends Object
This class define the configuration of a test.- Since:
- 2.0
- Author:
- Laurent Jourdren
-
-
Constructor Summary
Constructors Constructor Description TestConfiguration(Settings settings, String prefix, Map<String,String> globalConf)
Public constructor.TestConfiguration(Map<String,String> map)
Public constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsKey(String key)
Test if the configuration contains a key.Set<Map.Entry<String,String>>
entrySet()
Get an entry set of the setting values.String
get(String key)
Get a setting value.fr.ens.biologie.genomique.kenetre.illumina.samplesheet.SampleSheet
getSampleSheet(String key)
Get a sample sheet.boolean
isEmpty()
Test if the configuration is empty.String
toString()
-
-
-
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
-
-