You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jmeter.apache.org by fs...@apache.org on 2015/12/22 11:30:29 UTC
svn commit: r1721332 -
/jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java
Author: fschumacher
Date: Tue Dec 22 10:30:29 2015
New Revision: 1721332
URL: http://svn.apache.org/viewvc?rev=1721332&view=rev
Log:
Followup to r1720000. Add javadoc (especially deprecated tag) and rename parameter.
Modified:
jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java
Modified: jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java?rev=1721332&r1=1721331&r2=1721332&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/control/TransactionController.java Tue Dec 22 10:30:29 2015
@@ -111,19 +111,37 @@ public class TransactionController exten
return this;
}
- public void setGenerateParentSample(boolean _parent) {
- setProperty(new BooleanProperty(GENERATE_PARENT_SAMPLE, _parent));
+ /**
+ * @param generateParent flag whether a parent sample should be generated.
+ */
+ public void setGenerateParentSample(boolean generateParent) {
+ setProperty(new BooleanProperty(GENERATE_PARENT_SAMPLE, generateParent));
}
+ /**
+ * @return {@true} if a parent sample will be generated
+ */
public boolean isGenerateParentSample() {
return getPropertyAsBoolean(GENERATE_PARENT_SAMPLE);
}
-
+
+ /**
+ * @deprecated use {@link TransactionController#isGenerateParentSample()}
+ * instead
+ * @return {@true} if a parent sample will be generated
+ */
@Deprecated
public boolean isParent() {
return isGenerateParentSample();
}
-
+
+ /**
+ * @deprecated use
+ * {@link TransactionController#setGenerateParentSample(boolean)}
+ * instead
+ * @param _parent
+ * flag whether a parent sample should be generated
+ */
@Deprecated
public void setParent(boolean _parent) {
setGenerateParentSample(_parent);