// Path: src/main/java/com/lazerycode/jmeter/properties/ConfigurationFiles.java
// public enum ConfigurationFiles {
// 
// 	JMETER_PROPERTIES("jmeter.properties", true),
// 	SAVE_SERVICE_PROPERTIES("saveservice.properties", true),
// 	UPGRADE_PROPERTIES("upgrade.properties", true),
// 	SYSTEM_PROPERTIES("system.properties", true),
// 	USER_PROPERTIES("user.properties", true),
// 	REPORT_GENERATOR_PROPERTIES("reportgenerator.properties", true),
// 	GLOBAL_PROPERTIES("global.properties", false);
// 
// 	private final String propertiesFilename;
// 	private final boolean isRequired;
// 
// 	ConfigurationFiles(String propertiesFilename, boolean isRequired) {
// 		this.propertiesFilename = propertiesFilename;
// 		this.isRequired = isRequired;
// 	}
// 
// 	public String getFilename() {
// 		return propertiesFilename;
// 	}
// 
// 	public boolean createFileIfItDoesNotExist() {
// 		return isRequired;
// 	}
// 
// }
// 
// Path: src/main/java/com/lazerycode/jmeter/properties/PropertiesMapping.java
// public class PropertiesMapping {
//     protected Map<String, String> additionalProperties;
//     private PropertiesFile propertiesFile;
// 
//     @JsonCreator
//     public PropertiesMapping(@JsonProperty("additionalProperties") Map<String, String> additionalProperties) {
//         this.additionalProperties = additionalProperties;
//     }
// 
//     public Map<String, String> getAdditionalProperties() {
//         return additionalProperties;
//     }
// 
//     public PropertiesFile getPropertiesFile() {
//         return propertiesFile;
//     }
// 
//     public void setPropertiesFile(PropertiesFile propertiesFile) {
//         this.propertiesFile = propertiesFile;
//     }
// }


import com.lazerycode.jmeter.properties.ConfigurationFiles;
import com.lazerycode.jmeter.properties.PropertiesMapping;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;
package com.lazerycode.jmeter.configuration;



public class RemoteArgumentsArrayBuilder {

    /**
     * Make constructor private as this is a non-instantiable helper classes
     */
    RemoteArgumentsArrayBuilder() throws InstantiationError {
        throw new InstantiationError("This class is non-instantiable.");
    }

    public static List<String> buildRemoteArgumentsArray(Map<ConfigurationFiles, PropertiesMapping> propertiesMap) {
// Path: src/main/java/com/lazerycode/jmeter/properties/ConfigurationFiles.java
// public enum ConfigurationFiles {
// 
// 	JMETER_PROPERTIES("jmeter.properties", true),
// 	SAVE_SERVICE_PROPERTIES("saveservice.properties", true),
// 	UPGRADE_PROPERTIES("upgrade.properties", true),
// 	SYSTEM_PROPERTIES("system.properties", true),
// 	USER_PROPERTIES("user.properties", true),
// 	REPORT_GENERATOR_PROPERTIES("reportgenerator.properties", true),
// 	GLOBAL_PROPERTIES("global.properties", false);
// 
// 	private final String propertiesFilename;
// 	private final boolean isRequired;
// 
// 	ConfigurationFiles(String propertiesFilename, boolean isRequired) {
// 		this.propertiesFilename = propertiesFilename;
// 		this.isRequired = isRequired;
// 	}
// 
// 	public String getFilename() {
// 		return propertiesFilename;
// 	}
// 
// 	public boolean createFileIfItDoesNotExist() {
// 		return isRequired;
// 	}
// 
// }
// 
// Path: src/main/java/com/lazerycode/jmeter/properties/PropertiesMapping.java
// public class PropertiesMapping {
//     protected Map<String, String> additionalProperties;
//     private PropertiesFile propertiesFile;
// 
//     @JsonCreator
//     public PropertiesMapping(@JsonProperty("additionalProperties") Map<String, String> additionalProperties) {
//         this.additionalProperties = additionalProperties;
//     }
// 
//     public Map<String, String> getAdditionalProperties() {
//         return additionalProperties;
//     }
// 
//     public PropertiesFile getPropertiesFile() {
//         return propertiesFile;
//     }
// 
//     public void setPropertiesFile(PropertiesFile propertiesFile) {
//         this.propertiesFile = propertiesFile;
//     }
// }


// Path: src/main/java/com/lazerycode/jmeter/configuration/RemoteArgumentsArrayBuilder.java
import com.lazerycode.jmeter.properties.ConfigurationFiles;
import com.lazerycode.jmeter.properties.PropertiesMapping;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.Properties;

package com.lazerycode.jmeter.configuration;



public class RemoteArgumentsArrayBuilder {

    /**
     * Make constructor private as this is a non-instantiable helper classes
     */
    RemoteArgumentsArrayBuilder() throws InstantiationError {
        throw new InstantiationError("This class is non-instantiable.");
    }

    public static List<String> buildRemoteArgumentsArray(Map<ConfigurationFiles, PropertiesMapping> propertiesMap) {
        List<String> result = new ArrayList<>();