src/main/java/com/vimalselvam/cucumber/listener/Reporter.java
public static void setSystemInfo(String key, String value) {
        if (systemInfoKeyMap.isEmpty() || !systemInfoKeyMap.containsKey(key)) {
            systemInfoKeyMap.put(key, false);
        }
        if (systemInfoKeyMap.get(key)) {
            return;
        }
        getExtentReport().setSystemInfo(key, value);
        systemInfoKeyMap.put(key, true);
    }
public static void setSystemInfo(String key, String value) {
        if (systemInfoKeyMap.isEmpty() || !systemInfoKeyMap.containsKey(key)) {
            systemInfoKeyMap.put(key, false);
        }
        if (systemInfoKeyMap.get(key)) {
            return;
        }
        getExtentReport().setSystemInfo(key, value);
        systemInfoKeyMap.put(key, true);
    }
public static void setSystemInfo ( String key , String value ) { if ( systemInfoKeyMap . isEmpty ( ) || ! systemInfoKeyMap . containsKey ( key ) ) { systemInfoKeyMap . put ( key , false ) ; } if ( systemInfoKeyMap . get ( key ) ) { return ; } getExtentReport ( ) . setSystemInfo ( key , value ) ; systemInfoKeyMap . put ( key , true ) ; }
Sets the system information with the given key value pair

@param key   The name of the key
@param value The value of the given key
Sets the system information with the given key value pair