Class ConfigurationUtils

  • All Implemented Interfaces:
    org.robotframework.javalib.library.KeywordDocumentationRepository, org.robotframework.javalib.library.RobotFrameworkDynamicAPI

    public class ConfigurationUtils
    extends org.robotframework.javalib.library.AnnotationLibrary
    • Field Summary

      • Fields inherited from class org.robotframework.javalib.library.AnnotationLibrary

        beanLoaders, classFilter
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<java.lang.String> getListValues​(java.lang.String key)  
      java.lang.String getValue​(java.lang.String key)  
      AbstractConfiguration readJsonConfiguration​(java.lang.String filePath)  
      AbstractConfiguration readYamlConfiguration​(java.lang.String filePath)  
      • Methods inherited from class org.robotframework.javalib.library.AnnotationLibrary

        addKeywordPattern, autowireFields, createKeywordFactory, getKeywordArguments, getKeywordDocumentation, runKeyword, runKeyword
      • Methods inherited from class org.robotframework.javalib.library.KeywordFactoryBasedLibrary

        getClassLoader, getKeywordNames, setClassLoader
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConfigurationUtils

        public ConfigurationUtils()
    • Method Detail

      • getValue

        public java.lang.String getValue​(java.lang.String key)
                                  throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getListValues

        public java.util.List<java.lang.String> getListValues​(java.lang.String key)
                                                       throws java.lang.Exception
        Throws:
        java.lang.Exception
      • readYamlConfiguration

        public AbstractConfiguration readYamlConfiguration​(java.lang.String filePath)
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception
      • readJsonConfiguration

        public AbstractConfiguration readJsonConfiguration​(java.lang.String filePath)
                                                    throws java.lang.Exception
        Throws:
        java.lang.Exception