Class ConfigFileObject


  • public class ConfigFileObject
    extends Object
    Bean that stores a loaded configuration file.
    Since:
    6.2.2
    Author:
    Radu Tom Vlad (rvlad@naevatec.com)
    • Constructor Detail

      • ConfigFileObject

        public ConfigFileObject​(Path configFilePath,
                                com.google.gson.JsonObject configFile)
    • Method Detail

      • getConfigFilePath

        public Path getConfigFilePath()
        Returns the configuration file path.
        Returns:
        the Path of this configuration file
      • setConfigFilePath

        public void setConfigFilePath​(Path configFilePath)
      • getConfigFile

        public com.google.gson.JsonObject getConfigFile()
        Return the contents of a config file, as JSON object.
        Returns:
        the contents of the file as a JsonObject
      • setConfigFile

        public void setConfigFile​(com.google.gson.JsonObject configFile)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object