Class Infos


  • public class Infos
    extends Object
    This class gathers information about Eoulsan configuration and system environment.
    Since:
    2.3
    Author:
    Laurent Jourdren
    • Constructor Detail

      • Infos

        public Infos()
    • Method Detail

      • log

        public static void log​(Level level,
                               List<Infos.Info> listInfos)
        Log a list of Info.
        Parameters:
        level - Log level
        listInfos - the list of info to log
      • log

        public static void log​(Level level,
                               Infos.Info info)
        Log a list of Info.
        Parameters:
        level - Log level
        info - 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