327328329330331332333
/** * Enables xml validation mode */ public void setXML() { setProperty(new LongProperty(FORMAT_KEY, 2)); }
137138139140141142143144145146147148
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)); } }
40414243444546
{ } public void setRuntime(long seconds) { setProperty(new LongProperty(SECONDS, seconds)); }
128129130131132133134
/** * set the expires for this object. */ public synchronized void setExpires(long expires) { setProperty(new LongProperty(EXPIRES, expires)); }
90919293949596
* * @param val the new lowest possible parameter value */ public void setLowerBound(long val) { setProperty(new LongProperty(LOWER_BOUND, val)); }
101102103104105106107
* * @param val the new highest possible parameter value */ public void setUpperBound(long val) { setProperty(new LongProperty(UPPER_BOUND, val)); }
112113114115116117118
* * @param incr the new increment for the parameter value */ public void setIncrement(long incr) { setProperty(new LongProperty(INCREMENT, incr)); }
295296297298299300301302303304305
{ property= new IntegerProperty(); } else if (value instanceof Long) { property= new LongProperty(); } else if (value instanceof String) { property= new StringProperty(); }
129130131132133134135
* * @param stime - the StartTime value. */ public void setStartTime(long stime) { setProperty(new LongProperty(START_TIME,stime)); }