Added support for reportType parameter.

git-svn-id: https://svn.apache.org/repos/asf/incubator/activemq/trunk@413787 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Frederick G. Oconer 2006-06-13 02:24:23 +00:00
parent 021a2afd88
commit d6c2de6b8c
2 changed files with 16 additions and 2 deletions

View File

@ -183,6 +183,12 @@ public class ConsumerMojo
*/
private String reportDirectory;
/**
* @parameter expression="${sysTest.reportType}" default-value="xml"
* @required
*/
private String reportType;
public void execute()
throws MojoExecutionException {
@ -224,7 +230,8 @@ public class ConsumerMojo
"sysTest.numClients=" + numClients,
"sysTest.totalDests=" + totalDests,
"sysTest.destDistro=" + destDistro,
"sysTest.reportDirectory=" + reportDirectory
"sysTest.reportDirectory=" + reportDirectory,
"sysTest.reportType=" + reportType
};
return options;

View File

@ -151,6 +151,12 @@ public class ProducerMojo
*/
private String reportDirectory;
/**
* @parameter expression="${sysTest.reportType}" default-value="xml"
* @required
*/
private String reportType;
public void execute()
throws MojoExecutionException {
@ -184,7 +190,8 @@ public class ProducerMojo
"sysTest.numClients=" + numClients,
"sysTest.totalDests=" + totalDests,
"sysTest.destDistro=" + destDistro,
"sysTest.reportDirectory=" + reportDirectory
"sysTest.reportDirectory=" + reportDirectory,
"sysTest.reportType=" + reportType
};
return options;