All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.lazerycode.jmeter.configuration.JMeterProcessJVMSettings Maven / Gradle / Ivy

There is a newer version: 1.2.6
Show newest version
package com.lazerycode.jmeter.configuration;

import java.util.ArrayList;
import java.util.List;

/**
 * Used to detect which artifacts are JMeter plugins
 * 

* Configuration in pom.xml: *

*

 * {@code
 * 	
 *      
 *          ${env.JAVA_HOME}/bin/java
 *          512
 *          1024
 *          
 *              foo
 *          
 *      
 *  
 * }
 * 
* * @author Mark Collin */ public class JMeterProcessJVMSettings { private int xms = 512; private int xmx = 512; private String java = "java"; private List arguments = new ArrayList<>(); /** * Empty constructor */ public JMeterProcessJVMSettings() { super(); } /** * Copy constructor * @param source {@link JMeterProcessJVMSettings} */ public JMeterProcessJVMSettings(JMeterProcessJVMSettings source) { this.xmx = source.xms; this.xms = source.xms; this.java = source.java; this.arguments = new ArrayList<>(); this.arguments.addAll(source.arguments); } public int getXms() { return xms; } public void setXms(int xms) { this.xms = xms; } public int getXmx() { return xmx; } public void setXmx(int xmx) { this.xmx = xmx; } public List getArguments() { return arguments; } public void setArguments(List arguments) { this.arguments = arguments; } public void setJavaRuntime(String java) { this.java = java; } public String getJavaRuntime() { return this.java; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy