cvs commit: jakarta-jmeter/src/core/org/apache/jmeter/testelement TestPlan.java

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

cvs commit: jakarta-jmeter/src/core/org/apache/jmeter/testelement TestPlan.java

sebb-3
sebb        2005/06/04 16:18:34

  Modified:    src/core/org/apache/jmeter/testelement TestPlan.java
  Log:
  Restore isFunctionalMode() method
 
  Revision  Changes    Path
  1.16      +21 -6     jakarta-jmeter/src/core/org/apache/jmeter/testelement/TestPlan.java
 
  Index: TestPlan.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/testelement/TestPlan.java,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -u -r1.15 -r1.16
  --- TestPlan.java 14 May 2005 22:30:15 -0000 1.15
  +++ TestPlan.java 4 Jun 2005 23:18:34 -0000 1.16
  @@ -88,10 +88,15 @@
           setProperty(new CollectionProperty(THREAD_GROUPS, threadGroups));
       }
   
  -//    public boolean isFunctionalMode()
  -//    {
  -//        return getPropertyAsBoolean(FUNCTIONAL_MODE);
  -//    }
  +    /**
  +     * Fetches the functional mode property
  +     *
  +     * @return functional mode
  +     */
  +    public boolean isFunctionalMode()
  +    {
  +        return getPropertyAsBoolean(FUNCTIONAL_MODE);
  +    }
   
       public void setUserDefinedVariables(Arguments vars)
       {
  @@ -132,6 +137,11 @@
           functionalMode = funcMode;
       }
       
  +    /**
  +     * Gets the static copy of the functional mode
  +     *
  +     * @return mode
  +     */
       public static boolean getFunctionalMode()
       {
        return functionalMode;
  @@ -142,6 +152,11 @@
           setProperty(new BooleanProperty(SERIALIZE_THREADGROUPS, serializeTGs));
       }
       
  +    /**
  +     * Fetch the serialize threadgroups property
  +     *
  +     * @return serialized setting
  +     */
       public boolean isSerialized()
       {
           return getPropertyAsBoolean(SERIALIZE_THREADGROUPS);
 
 
 

---------------------------------------------------------------------
To unsubscribe, e-mail: [hidden email]
For additional commands, e-mail: [hidden email]