Package org.apache.jmeter.testelement.property

Examples of org.apache.jmeter.testelement.property.LongProperty


  /**
   * Enables xml validation mode
   */
  public void setXML() {
    setProperty(new LongProperty(FORMAT_KEY, 2));
  }
View Full Code Here


            throw new IllegalArgumentException(
                JMeterUtils.getResString("argument_must_not_be_negative"));
        }
        if (size == Long.MAX_VALUE)
        {
            setProperty(new LongProperty(SIZE_KEY, 0));
        }
        else
        {
            setProperty(new LongProperty(SIZE_KEY, size));
        }
    }
View Full Code Here

    {
    }

    public void setRuntime(long seconds)
    {
        setProperty(new LongProperty(SECONDS, seconds));
    }
View Full Code Here

    /**
     * set the expires for this object.
     */
    public synchronized void setExpires(long expires)
    {
        setProperty(new LongProperty(EXPIRES, expires));
    }
View Full Code Here

     *
     * @param  val  the new lowest possible parameter value
     */
    public void setLowerBound(long val)
    {
        setProperty(new LongProperty(LOWER_BOUND, val));
    }
View Full Code Here

     *
     * @param  val  the new highest possible parameter value
     */
    public void setUpperBound(long val)
    {
        setProperty(new LongProperty(UPPER_BOUND, val));
    }
View Full Code Here

     *
     * @param  incr  the new increment for the parameter value
     */
    public void setIncrement(long incr)
    {
        setProperty(new LongProperty(INCREMENT, incr));
    }
View Full Code Here

    /**
     * set the expires for this object.
     */
    public synchronized void setExpires(long expires)
    {
        setProperty(new LongProperty(EXPIRES, expires));
    }
View Full Code Here

        {
            property= new IntegerProperty();
        }
        else if (value instanceof Long)
        {
            property= new LongProperty();
        }
        else if (value instanceof String)
        {
            property= new StringProperty();
        }
View Full Code Here

     *
     * @param stime - the StartTime value.
     */
    public void setStartTime(long stime)
    {
        setProperty(new LongProperty(START_TIME,stime));
    }
View Full Code Here

TOP

Related Classes of org.apache.jmeter.testelement.property.LongProperty

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.