Class Infos
- java.lang.Object
-
- fr.ens.biologie.genomique.eoulsan.Infos
-
public class Infos extends Object
This class gathers information about Eoulsan configuration and system environment.- Since:
- 2.3
- Author:
- Laurent Jourdren
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Infos.Info
This class define an info.
-
Constructor Summary
Constructors Constructor Description Infos()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static List<Infos.Info>
cloudInfo(Settings settings)
Return a list with cloud configuration informations.static List<Infos.Info>
clusterInfo(Settings settings)
Return a list with cluster configuration informations.static List<Infos.Info>
commandLineInfo(Main main)
Return a list with command line informations.static List<Infos.Info>
cpuInfo()
Return a list with CPU informations.static Infos.Info
diskFreeInfo(File partition)
Get information about the partition of a file.static List<Infos.Info>
dockerInfo(Settings settings)
Return a list with Docker configuration informations.static List<Infos.Info>
generalConf(Settings settings)
Return a list with general configuration informations.static List<Infos.Info>
hadoopInfo(Settings settings)
Return a list with Hadoop configuration informations.static void
log(Level level, Infos.Info info)
Log a list of Info.static void
log(Level level, List<Infos.Info> listInfos)
Log a list of Info.static List<Infos.Info>
mailInfo(Settings settings)
Return a list with email configuration informations.static List<Infos.Info>
memInfo()
Return a list with memory informations.static List<Infos.Info>
modulesAndFormatsInfo(Settings settings)
Return a list with modules and format informations.static List<Infos.Info>
partitionInfo(Settings settings)
Return a list with Docker configuration informations.static List<Infos.Info>
rAndRserveInfo(Settings settings)
Return a list with R and Rserve configuration informations.static List<Infos.Info>
softwareInfos(Main main)
Return a list with Eoulsan software informations.static List<Infos.Info>
storageInfo(Settings settings)
Return a list with storage informations.static List<Infos.Info>
systemInfos()
Return a list with system informations.
-
-
-
Method Detail
-
log
public static void log(Level level, List<Infos.Info> listInfos)
Log a list of Info.- Parameters:
level
- Log levellistInfos
- the list of info to log
-
log
public static void log(Level level, Infos.Info info)
Log a list of Info.- Parameters:
level
- Log levelinfo
- info to log
-
diskFreeInfo
public static Infos.Info diskFreeInfo(File partition) throws IOException
Get information about the partition of a file.- Parameters:
partition
- a file in the partition- Throws:
IOException
-
softwareInfos
public static List<Infos.Info> softwareInfos(Main main)
Return a list with Eoulsan software informations.- Parameters:
main
- Eoulsan Main object- Returns:
- a list with Info objects
-
commandLineInfo
public static List<Infos.Info> commandLineInfo(Main main)
Return a list with command line informations.- Parameters:
main
- Eoulsan Main object- Returns:
- a list with Info objects
-
systemInfos
public static List<Infos.Info> systemInfos()
Return a list with system informations.- Returns:
- a list with Info objects
-
generalConf
public static List<Infos.Info> generalConf(Settings settings)
Return a list with general configuration informations.- Parameters:
settings
- the Eoulsan settings- Returns:
- a list with Info objects
-
modulesAndFormatsInfo
public static List<Infos.Info> modulesAndFormatsInfo(Settings settings)
Return a list with modules and format informations.- Parameters:
settings
- the Eoulsan settings- Returns:
- a list with Info objects
-
storageInfo
public static List<Infos.Info> storageInfo(Settings settings)
Return a list with storage informations.- Parameters:
settings
- the Eoulsan settings- Returns:
- a list with Info objects
-
clusterInfo
public static List<Infos.Info> clusterInfo(Settings settings)
Return a list with cluster configuration informations.- Parameters:
settings
- the Eoulsan settings- Returns:
- a list with Info objects
-
hadoopInfo
public static List<Infos.Info> hadoopInfo(Settings settings)
Return a list with Hadoop configuration informations.- Parameters:
settings
- the Eoulsan settings- Returns:
- a list with Info objects
-
cloudInfo
public static List<Infos.Info> cloudInfo(Settings settings)
Return a list with cloud configuration informations.- Parameters:
settings
- the Eoulsan settings- Returns:
- a list with Info objects
-
mailInfo
public static List<Infos.Info> mailInfo(Settings settings)
Return a list with email configuration informations.- Parameters:
settings
- the Eoulsan settings- Returns:
- a list with Info objects
-
rAndRserveInfo
public static List<Infos.Info> rAndRserveInfo(Settings settings)
Return a list with R and Rserve configuration informations.- Parameters:
settings
- the Eoulsan settings- Returns:
- a list with Info objects
-
dockerInfo
public static List<Infos.Info> dockerInfo(Settings settings)
Return a list with Docker configuration informations.- Parameters:
settings
- the Eoulsan settings- Returns:
- a list with Info objects
-
cpuInfo
public static List<Infos.Info> cpuInfo()
Return a list with CPU informations.- Returns:
- a list with Info objects
-
memInfo
public static List<Infos.Info> memInfo()
Return a list with memory informations.- Returns:
- a list with Info objects
-
partitionInfo
public static List<Infos.Info> partitionInfo(Settings settings)
Return a list with Docker configuration informations.- Parameters:
settings
- the Eoulsan settings- Returns:
- a list with Info objects
-
-