Class MavenReader


  • public class MavenReader
    extends Object
    • Constructor Detail

      • MavenReader

        public MavenReader()
    • Method Detail

      • getIntegerProperty

        public static int getIntegerProperty​(String key)
        gets key value from maven properties. format: -Dkey value
        Parameters:
        key - key in properties file
        Returns:
        integer value of property key
      • getStringProperty

        public static String getStringProperty​(String key)
        gets the value of the properties file based on key value, And sets default value if value is missing
        Parameters:
        key - key in properties file
        Returns:
        string value of property value
      • getBooleanProperty

        public static Boolean getBooleanProperty​(String key)
        gets key value from maven properties. format: -Dkey value
        Parameters:
        key - key in properties file
        Returns:
        boolean value of proeprlty value