com.lazerycode.jmeter.properties
Class PropertyHandler
java.lang.Object
org.apache.maven.plugin.AbstractMojo
com.lazerycode.jmeter.JMeterMojo
com.lazerycode.jmeter.properties.PropertyHandler
- All Implemented Interfaces:
- org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo
public class PropertyHandler
- extends JMeterMojo
Handler to deal with properties file creation.
- Author:
- Arne Franken, Mark Collin
Fields inherited from interface org.apache.maven.plugin.Mojo |
ROLE |
Constructor Summary |
PropertyHandler(File sourceDirectory,
File outputDirectory,
org.apache.maven.artifact.Artifact jMeterConfigArtifact)
|
Methods inherited from class org.apache.maven.plugin.AbstractMojo |
getLog, getPluginContext, setLog, setPluginContext |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PropertyHandler
public PropertyHandler(File sourceDirectory,
File outputDirectory,
org.apache.maven.artifact.Artifact jMeterConfigArtifact)
throws org.apache.maven.plugin.MojoExecutionException
- Throws:
org.apache.maven.plugin.MojoExecutionException
setJMeterProperties
public void setJMeterProperties(Map<String,String> value)
setJMeterSaveServiceProperties
public void setJMeterSaveServiceProperties(Map<String,String> value)
setJMeterSystemProperties
public void setJMeterSystemProperties(Map<String,String> value)
setJMeterUpgradeProperties
public void setJMeterUpgradeProperties(Map<String,String> value)
setJmeterUserProperties
public void setJmeterUserProperties(Map<String,String> value)
setJMeterGlobalProperties
public void setJMeterGlobalProperties(Map<String,String> value)
configureJMeterPropertiesFiles
public void configureJMeterPropertiesFiles()
throws org.apache.maven.plugin.MojoExecutionException
- Create/Copy the properties files used by JMeter into the JMeter directory tree.
- Throws:
org.apache.maven.plugin.MojoExecutionException
mergePropertiesFile
public void mergePropertiesFile(JMeterPropertiesFiles propertyFile,
File outputDirectory)
throws org.apache.maven.plugin.MojoExecutionException
- Merge properties from sourceFile and customProperties into the given outputDirectory
- Parameters:
propertyFile
- outputDirectory
-
- Throws:
org.apache.maven.plugin.MojoExecutionException
Copyright © 2012. All Rights Reserved.