1
2
3
4
5
6
7
8
9
10
11
12 package com.eviware.soapui.impl.rest.support;
13
14 import java.util.Map;
15 import java.util.Properties;
16
17 import com.eviware.soapui.impl.wsdl.MutableTestPropertyHolder;
18 import com.eviware.soapui.model.propertyexpansion.PropertyExpansion;
19 import com.eviware.soapui.model.testsuite.TestProperty;
20
21 public interface RestParamsPropertyHolder extends MutableTestPropertyHolder, Map<String, TestProperty>
22 {
23
24 public RestParamProperty getProperty( String name );
25
26 public void resetValues();
27
28 public int getPropertyIndex( String name );
29
30 public void saveTo( Properties props );
31
32 public RestParamProperty getPropertyAt( int index );
33
34 public PropertyExpansion[] getPropertyExpansions();
35
36 public void setPropertiesLabel( String propertiesLabel );
37
38 public RestParamProperty addProperty( String name );
39
40 public RestParamProperty removeProperty( String propertyName );
41
42 public RestParamProperty get( Object key );
43
44 public void addParameter( RestParamProperty prop );
45
46 /***
47 * Internal property class
48 *
49 * @author ole
50 */
51
52 public enum ParameterStyle
53 {
54 MATRIX, HEADER, QUERY, TEMPLATE, PLAIN
55 }
56
57 }