1
2
3
4
5
6
7
8
9
10
11
12
13 package com.eviware.soapui.model.settings;
14
15 /***
16 * Base interface for settings available in the soapui model
17 *
18 * @author Ole.Matzura
19 */
20
21 public interface Settings
22 {
23 public String getString( String id, String defaultValue );
24
25 public void setString( String id, String value );
26
27 /***
28 * booleans always default to false..
29 */
30
31 public boolean getBoolean( String id );
32
33 public void setBoolean( String id, boolean value );
34
35 public void addSettingsListener( SettingsListener listener );
36
37 public void removeSettingsListener( SettingsListener listener );
38
39 public void clearSetting( String id );
40
41 public long getLong(String id, long defaultValue );
42
43 public boolean isSet( String id );
44 }